aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LatencyPriorityQueue.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-20 17:50:21 +0000
committerDan Gohman <gohman@apple.com>2009-11-20 17:50:21 +0000
commit837be07979723fb05ef47c828da014ce9ed1ba34 (patch)
treea58deed4bde8b6659254782e8f57545b5e37384e /lib/CodeGen/LatencyPriorityQueue.cpp
parent37628e009827420d56cdf9b26c5104abd726e53b (diff)
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/LatencyPriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions