Do not fold reload into an instruction with multiple uses. It issues one extra load.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 30 Nov 2007 21:23:43 +0000 (21:23 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 30 Nov 2007 21:23:43 +0000 (21:23 +0000)
commitcddbb83ea82e98658d9f530c50a7b9d23249afc2
tree4a95387e7cb0e065698be99469963612be86a669
parentcd883f203d23c7e44b12dff62df2e6d65d8f231c
Do not fold reload into an instruction with multiple uses. It issues one extra load.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44467 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp
test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll [new file with mode: 0644]