diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-05 04:45:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-05 04:45:32 +0000 |
commit | 7c95debb496624ee43c2f25cc4d7299f4c589bb2 (patch) | |
tree | 78e1d73fba420395b340acec3c26b0871e03c625 /lib/Analysis/MemoryDependenceAnalysis.cpp | |
parent | a8701a6c62158b2b84cc24ed2149e4107d03409a (diff) |
Fix a bug compiling PR1978 (perhaps not the only one though) which
was incorrectly simplifying "x == (gep x, 1, i)" into false, even
though i could be negative. As it turns out, all the code to
handle this already existed, we just need to disable the incorrect
optimization case and let the general case handle it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions