Follow up to r165072. Try a different approach: only move the load when it's going...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2012 01:48:22 +0000 (01:48 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Oct 2012 01:48:22 +0000 (01:48 +0000)
commit2a2947885aea4e96eb6b776c1558f625506a26d2
tree830efc9ca51a00f341e89699c55a43d7aa46a703
parentfca3f4021ae9a561edb6d2fcb4a282b6f25ab144
Follow up to r165072. Try a different approach: only move the load when it's going to be folded into the call. rdar://12437604

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/2012-10-02-DAGCycle.ll