summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/eh.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
commita8c144d534429d209926e4ad18372db42f68faf9 (patch)
treeeafeb6ad87728a59aaebfb98b19d2d78a7a2252c /clang/test/CodeGenCXX/eh.cpp
parent0a66c2619104c7e9f9a0db15f151d1a03a648142 (diff)
downloadbcm5719-llvm-a8c144d534429d209926e4ad18372db42f68faf9.tar.gz
bcm5719-llvm-a8c144d534429d209926e4ad18372db42f68faf9.zip
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. llvm-svn: 89468
Diffstat (limited to 'clang/test/CodeGenCXX/eh.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud