OSDN Git Service

Split the main for-each-use loop again, this time for GenerateTruncates,
authorDan Gohman <gohman@apple.com>
Tue, 16 Feb 2010 01:42:53 +0000 (01:42 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 16 Feb 2010 01:42:53 +0000 (01:42 +0000)
commitc2385a0741c43bd93eb2033e2f11eaae83cdb1cb
treec09c437e569bc5979b10189ef10afef9191ffcc2
parentf463d9554b5bfa735e896ceb06f5fea42d33955b
Split the main for-each-use loop again, this time for GenerateTruncates,
as it also peeks at which registers are being used by other uses. This
makes LSR less sensitive to use-list order.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96308 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/CodeGen/X86/lsr-reuse-trunc.ll [new file with mode: 0644]