Rewrite the physreg part of findLastUseBefore().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Mar 2013 18:08:57 +0000 (18:08 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 8 Mar 2013 18:08:57 +0000 (18:08 +0000)
commit8d1aaf21cf2a2bdef56081e82823dd70c88ed261
tree6e84fa735789aabe138f7677f4ce7dd54c83f074
parentfaae9d3ae36cb7a982ce2d707548933b7eab4c1f
Rewrite the physreg part of findLastUseBefore().

To find the last use of a register unit, start from the bottom and scan
upwards until a user is found.

<rdar://problem/13353090>

llvm-svn: 176706
llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
llvm/test/CodeGen/X86/misched-crash.ll [new file with mode: 0644]