summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr1505b.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-24 07:57:06 +0000
committerChris Lattner <sabre@nondot.org>2008-01-24 07:57:06 +0000
commit125991a1f62db419fc4a504986a998d85fbef699 (patch)
tree2eb366c47a8ca4edd81ce206d07f7698c25ce16d /test/CodeGen/X86/pr1505b.ll
parent20e3d86766a38492b3f6203bf4cf70dd9d187b7b (diff)
downloadllvm-125991a1f62db419fc4a504986a998d85fbef699.tar.gz
llvm-125991a1f62db419fc4a504986a998d85fbef699.tar.bz2
llvm-125991a1f62db419fc4a504986a998d85fbef699.tar.xz
Fix this buggy transformation. Two observations:
1. we already know the value is dead, so don't bother replacing it with undef. 2. The very case the comment describes actually makes the load live which asserts in deletenode. If we do the replacement and the node becomes live, just treat it as new. This fixes a failure on X86/2008-01-16-InvalidDAGCombineXform.ll with some local changes in my tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr1505b.ll')
0 files changed, 0 insertions, 0 deletions