diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-11 00:00:26 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-11 00:00:26 +0000 |
commit | 8b560b8c485992dbd62ee31aaff5ac25b5549bd6 (patch) | |
tree | 4f30b79c3b50286326d3795485c596e767921432 /lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 89cdaf46ec53d06e48be69504f446a6c81340513 (diff) |
Only check for PHI uses inside the current loop.
Hoisting a value that is used by a PHI in the loop will introduce a
copy because the live range is extended to cross the PHI.
The same applies to PHIs in exit blocks.
Also use this opportunity to make HasLoopPHIUse() non-recursive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions