summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-22 16:47:11 +0000
committerDan Gohman <gohman@apple.com>2009-05-22 16:47:11 +0000
commit781b75a7dff9d810cab5f4da005c22622911ee0e (patch)
tree0a3ecb77fb1e58b39ea81141162e03310bac4323 /clang/lib/AST/DeclObjC.cpp
parent24ad692f30e1a512f9362739cc6bc48c78d92a30 (diff)
downloadbcm5719-llvm-781b75a7dff9d810cab5f4da005c22622911ee0e.tar.gz
bcm5719-llvm-781b75a7dff9d810cab5f4da005c22622911ee0e.zip
Teach IndVarSimplify's FixUsesBeforeDefs to handle InvokeInsts by
assuming that the use of the value is in a block dominated by the "normal" destination. LangRef.html and other documentation sources don't explicitly guarantee this, but it seems to be assumed in other places in LLVM at least. This fixes an assertion failure on the included testcase, which is derived from the Ada testsuite. FixUsesBeforeDefs is a temporary measure which I'm looking to replace with a more capable solution. llvm-svn: 72266
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud