Displaying 5 results from an estimated 5 matches for "alagapan".
2019 Jul 08
4
What can cause llc to throw an error for instruction numbering?
...am guessing that my modification is causing a value to be produced after each allocation instruction, would that still be under LLParser?
Thank you,
Kaarthik.
On Jul 8, 2019, 1:47 PM -0400, Tim Northover <t.p.northover at gmail.com>, wrote:
Hi Kaarthik,
On Mon, 8 Jul 2019 at 18:18, Kaarthik Alagapan via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
llc: error: llc: check.ll:12:3: error: instruction expected to be numbered '%5'
%4 = alloca i32, align 4
What changes/modification would cause this error to show up? I was thinking that SelectionDAGBuilder would cause this as it pars...
2019 Aug 03
3
Manually insert an instruction in SelectionDAG
Hello,
I am trying to insert a .byte/.word in the beginning of a specific LLVM IR instruction when it prints out in assembly (the inserted ‘instruction' only appears in assembly, not in LLVM IR), and I am guessing the best way to do that is to insert it in SelectionDAG as it strips down some LLVM IR instructions when it’s lowered. Can I get some guidance on what function I should use to insert
2019 Oct 23
3
Inserting instructions when encountered a specific label
...and hopefully can insert my instruction there. Would creating a new pseudo instruction be a good way to emit “.byte …” assembly code?
Thank you,
Kaarthik A.
On Oct 23, 2019, 3:20 PM -0400, Tim Northover <t.p.northover at gmail.com>, wrote:
Hi Kaarthik,
On Wed, 23 Oct 2019 at 11:37, Kaarthik Alagapan via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
I want to insert a new instruction when I encounter the true, false, and end labels (inside their respective blocks). I tried to detect the label names using " I.printAsOperand(errs(), false);”
This function prints an instruction as it wo...
2019 Jul 08
2
What can cause llc to throw an error for instruction numbering?
I duplicated an instruction in llvm and changed its opcode by following the guide at https://llvm.org/docs/ExtendingLLVM.html (Adding a new instruction) and then fixed the dependencies that caused an error when building. Now the modified llvm builds but throws but now throws the error:
llc: error: llc: check.ll:12:3: error: instruction expected to be numbered '%5'
%4 = alloca i32, align
2019 Oct 23
2
Inserting instructions when encountered a specific label
Hello,
I’m trying to insert an instruction if a specific label name/string is encountered and would appreciate some guidance on where I should start. Basically when parsing going through this .ll file:
; Function Attrs: noinline nounwind optnone uwtable
define i32 @main(i32, i8**) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8**, align 8
%6 = alloca i32, align