If it's determined safe, remat MOV32r0 (i.e. xor r, r) and others as it is instead...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 24 Jun 2008 07:10:51 +0000 (07:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 24 Jun 2008 07:10:51 +0000 (07:10 +0000)
commit9ef4ca2e812fc62e345fa019c2358564bbe46245
tree3a87cc23a714aceb10b06cf3fc05c9c8c03f775b
parent46e803b3e649c20ee3141341b2e58d5d64489e33
If it's determined safe, remat MOV32r0 (i.e. xor r, r) and others as it is instead of using the longer MOV32ri instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52670 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/remat-mov0.ll [new file with mode: 0644]