aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.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
commitd6d0294e35c120bd2e78198f54caaa3c0f70f9fe (patch)
treedcc7c2cb96315718b30a83a9c20dfa9717d288a7 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parenta57bc3ba02a470ee8cf70f50389489aa80c703cb (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions