Avoid storing and reloading zeros and other constants from stack slots
authorDan Gohman <gohman@apple.com>
Fri, 7 Sep 2007 21:32:51 +0000 (21:32 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 7 Sep 2007 21:32:51 +0000 (21:32 +0000)
commit1ab79897e2176424b33d572c07cdc360bb54659a
treea26ec5489c43b4121166a006df408e9882873ab9
parentcdd509aecdf14ebb18ecd6844462084698b65c4e
Avoid storing and reloading zeros and other constants from stack slots
by flagging the associated instructions as being trivially rematerializable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41775 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSSE.td
lib/Target/X86/X86InstrX86-64.td
test/CodeGen/X86/zero-remat.ll [new file with mode: 0644]