Fix fast-isel address mode folding to avoid folding instructions
authorDan Gohman <gohman@apple.com>
Tue, 22 Mar 2011 00:04:35 +0000 (00:04 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 22 Mar 2011 00:04:35 +0000 (00:04 +0000)
commitb55d6b6a7ea64f1cd168181f619aaa2f7080855a
tree347db12338a5cab9f20c549345769f877f0c2877
parentce3a1bac4bb3168b4862e4b674800dd6922267ac
Fix fast-isel address mode folding to avoid folding instructions
outside of the current basic block. This fixes PR9500, rdar://9156159.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel-gep.ll