Displaying 2 results from an estimated 2 matches for "55df5843".
2009 Aug 06
0
[LLVMdev] code-altering Passes for llc
On Aug 6, 2009, at 5:45 AM, Artjom Kochtchi wrote:
> So I was searching for a possibility to include an additional
> (Machine)BasicBlock (or rather a MachineFunction?) somewhere in the
> program
> that contains the program termination and that I can jump to on check
> failure. Can't I do that during a Pass in llc?
If you just have a magic block of instructions you want to
2009 Aug 06
2
[LLVMdev] code-altering Passes for llc
Kenneth Uildriks wrote:
>
> Does the error function *have* to be auto-generated in your pass?
> Perhaps the original code should use invokes, and your pass insert the
> error check with a jne to the "unwind" block.
>
If I understand correctly, unwind is some kind of exception handling in LLVM
IR? I'm not sure if this is the right thing.
First, I include runtime