diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-24 07:57:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-24 07:57:06 +0000 |
commit | 125991a1f62db419fc4a504986a998d85fbef699 (patch) | |
tree | 2eb366c47a8ca4edd81ce206d07f7698c25ce16d /lib/Analysis/BasicAliasAnalysis.cpp | |
parent | 20e3d86766a38492b3f6203bf4cf70dd9d187b7b (diff) |
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 'lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions