summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-04-09 17:16:43 +0000
committerBob Wilson <bob.wilson@apple.com>2009-04-09 17:16:43 +0000
commit51856173c8848b5aeed0b9e56fba2353a02842ab (patch)
tree7f9e07aef2f8ad77cd87179a5421db3f72509866 /clang/lib/CodeGen/CodeGenModule.cpp
parent38533d48ddac4dba0c237470c7bb60308a2bc8cf (diff)
downloadbcm5719-llvm-51856173c8848b5aeed0b9e56fba2353a02842ab.tar.gz
bcm5719-llvm-51856173c8848b5aeed0b9e56fba2353a02842ab.zip
Fix pr3954. The register scavenger asserts for inline assembly with
register destinations that are tied to source operands. The TargetInstrDescr::findTiedToSrcOperand method silently fails for inline assembly. The existing MachineInstr::isRegReDefinedByTwoAddr was very close to doing what is needed, so this revision makes a few changes to that method and also renames it to isRegTiedToUseOperand (for consistency with the very similar isRegTiedToDefOperand and because it handles both two-address instructions and inline assembly with tied registers). llvm-svn: 68714
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud