diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2010-06-03 23:53:58 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2010-06-03 23:53:58 +0000 |
| commit | aebde74bd1043e0ba04cd6efcd48905979395a9b (patch) | |
| tree | 758d525a4b6224f739b4411abd67d61395cce4c3 /lib/Target/ARM/ARMISelLowering.cpp | |
| parent | abe1fa816602c5e4ab74e28fbb6af73899fee339 (diff) | |
| download | external_llvm-aebde74bd1043e0ba04cd6efcd48905979395a9b.zip external_llvm-aebde74bd1043e0ba04cd6efcd48905979395a9b.tar.gz external_llvm-aebde74bd1043e0ba04cd6efcd48905979395a9b.tar.bz2 | |
Add some missing checks in TwoAddressInstructionPass::CoalesceExtSubRegs.
Check that all the instructions are in the same basic block, that the
EXTRACT_SUBREGs write to the same subregs that are being extracted, and that
the source and destination registers are in the same regclass. Some of
these constraints can be relaxed with a bit more work. Jakob suggested
that the loop that checks for subregs when NewSubIdx != 0 should use the
"nodbg" iterator, so I made that change here, too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
