diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-20 17:50:21 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-20 17:50:21 +0000 |
commit | cd91143935f6fc55ba9af90054f1d6dc4d4fcff3 (patch) | |
tree | a58deed4bde8b6659254782e8f57545b5e37384e /lib/CodeGen/ScheduleDAG.cpp | |
parent | c8cb0d95e6125d2c62c76e822e3edf09c6891aae (diff) | |
download | external_llvm-cd91143935f6fc55ba9af90054f1d6dc4d4fcff3.zip external_llvm-cd91143935f6fc55ba9af90054f1d6dc4d4fcff3.tar.gz external_llvm-cd91143935f6fc55ba9af90054f1d6dc4d4fcff3.tar.bz2 |
Revert the rule that considers comparisons between two pointers in the
same object to be a non-capture; Duncan pointed out a way that such
a comparison could be a capture.
Make the rule that considers a comparison against null more specific,
and only consider noalias return values compared against null. This
still supports test/Transforms/GVN/nonescaping-malloc.ll, and is not
susceptible to the problem Duncan pointed out with noalias arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAG.cpp')
0 files changed, 0 insertions, 0 deletions