llvm/lib
Dan Gohman d6d0294e35 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
2009-05-22 16:47:11 +00:00
..
Analysis Fix a thinko in the code that adapted SCEVMulExpr operands for 2009-05-22 07:14:20 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
Bitcode Make MDNode use CallbackVH. Also change MDNode to store Value* instead of 2009-05-10 20:57:05 +00:00
CodeGen Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
CompilerDriver -write-graph now can be used with -o. 2009-03-27 12:57:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Allow the JIT ExecutionEngine to report details about the generated machine code. 2009-05-18 21:06:40 +00:00
Linker Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
Support Add llvm::triple constructor from arch, vendor, os strings, and recognize 2009-05-22 02:24:11 +00:00
System Add Atomic.cpp to the CMake build system. 2009-05-21 00:48:56 +00:00
Target Emit debug information for globals (which include automatic variables as well because on PIC16 they are emitted as globals by the frontend). 2009-05-22 13:58:45 +00:00
Transforms Teach IndVarSimplify's FixUsesBeforeDefs to handle InvokeInsts by 2009-05-22 16:47:11 +00:00
VMCore Always verify dominfo if expensive checking is enabled. 2009-05-22 08:52:53 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00