diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-13 02:06:10 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-13 02:06:10 +0000 |
commit | b659c76c77df265b137c998bdd5bbc86071fd4b8 (patch) | |
tree | d0ef97f79500ea959f68641bae98bfa06f6c66e0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5b18f039ebdd752bf55ee6e4ed253f37747a1042 (diff) | |
download | llvm-b659c76c77df265b137c998bdd5bbc86071fd4b8.zip llvm-b659c76c77df265b137c998bdd5bbc86071fd4b8.tar.gz llvm-b659c76c77df265b137c998bdd5bbc86071fd4b8.tar.bz2 |
Fix PR6283.
When coalescing with a physreg, remember to add imp-def and imp-kill when
dealing with sub-registers.
Also fix a related bug in VirtRegRewriter where substitutePhysReg may
reallocate the operand list on an instruction and invalidate the reg_iterator.
This can happen when a register is mentioned twice on the same instruction.
llvm-svn: 96072
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions