summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commite97fa8cdf05c02dc257ed9590ccc2e7e60c726e9 (patch)
tree32b321b3da220d162a51e1558fbadf3c41c24df5 /llvm/test
parentd66eac62fda5f83ef7d3f2b4339873defe353327 (diff)
downloadbcm5719-llvm-e97fa8cdf05c02dc257ed9590ccc2e7e60c726e9.tar.gz
bcm5719-llvm-e97fa8cdf05c02dc257ed9590ccc2e7e60c726e9.zip
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. llvm-svn: 46306
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud