ReMaterializeTrivialDef need to trim the live interval to the last kill if the copy...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 5 Feb 2009 08:45:04 +0000 (08:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 5 Feb 2009 08:45:04 +0000 (08:45 +0000)
commit961154f2db1953d747313fe62399dfcc24f54a9b
tree9e46fc39a589be0f132c6a29022ded94ff89c4e8
parentb3379fbc604cc9e11b8b7fcd1ecb09a40a886697
ReMaterializeTrivialDef need to trim the live interval to the last kill if the copy kills the source register. This fixes uint64tof64.ll after ARM::MOVi is marked as isAsCheapAsAMove.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63853 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/SimpleRegisterCoalescing.h