llvm-6502/lib
Bill Wendling 2ad4aca8b2 If we mark clean-ups as clean-ups, then it could break when inlining through an
'invoke' instruction. You will get a situation like this:

bb:
  %ehptr = eh.exception()
  %sel = eh.selector(%ehptr, @per, 0);

...

bb2:
  invoke _Unwind_Resume_or_Rethrow(%ehptr) %normal unwind to %lpad

lpad:
  ...

The unwinder will see the %sel call as a clean-up and, if it doesn't have a
catch further up the call stack, it will skip running it. But there *is* another
catch up the stack -- the catch for the %lpad. However, we can't see that. This
is fixed in code-gen, where we detect this situation, and convert the "clean-up"
selector call into a "catch-all" selector call. This gives us the correct
semantics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99671 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-26 23:41:30 +00:00
..
Analysis rename pred_const_iterator to const_pred_iterator for consistency's sake 2010-03-25 23:25:28 +00:00
Archive
AsmParser Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
Bitcode Finally land the InvokeInst operand reordering. 2010-03-24 13:21:49 +00:00
CodeGen If we mark clean-ups as clean-ups, then it could break when inlining through an 2010-03-26 23:41:30 +00:00
CompilerDriver Use FindExecutable as a fall-back search method. 2010-03-05 04:46:28 +00:00
ExecutionEngine Avoid leaking argv and env arrays from lli. 2010-03-26 00:59:12 +00:00
Linker Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
MC llvm-mc: Add a -mc-relax-all option, which relaxes every fixup. We always need 2010-03-25 22:49:09 +00:00
Support Fix minor style issues. 2010-03-24 19:38:02 +00:00
System remove a constructor implementation that isn't declared 2010-03-26 22:17:24 +00:00
Target Add NVExtFrm to represent NEON Vector Extract Instructions, that uses Inst{11-8} 2010-03-26 22:28:56 +00:00
Transforms Ignore debug intrinsics in yet more places. 2010-03-26 00:33:27 +00:00
VMCore rename pred_const_iterator to const_pred_iterator for consistency's sake 2010-03-25 23:25:28 +00:00
Makefile