It's not safe to remove SUBREG_TO_REG that looks like identity copies, e.g. movl...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 17 Jun 2008 17:59:16 +0000 (17:59 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 17 Jun 2008 17:59:16 +0000 (17:59 +0000)
commit95350b9cd2c7ccdc5d1e2118742c1a43012c7a9f
treec74311f6aa2ecabb07ed02de256e7554d5c245d1
parent0b725f17e0fade6820813557fe4b6f8208b7510d
It's not safe to remove SUBREG_TO_REG that looks like identity copies, e.g. movl %eax, %eax on x86-64 actually does a zero-extend.

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