search for: kaarthik

Displaying 5 results from an estimated 5 matches for "kaarthik".

Did you mean: karthik
2019 Aug 03
3
Manually insert an instruction in SelectionDAG
...embly, 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 a .byte/.word in SelectionDAG so it’s printed out in assembly? Thank you, Kaarthik A. Alagappan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190803/0c70f9fe/attachment.html>
2019 Jul 08
4
What can cause llc to throw an error for instruction numbering?
...the expected one (say from %4 to %5), it tells me that the following line’s instruction number must be the nest odd number (that %5 should be %7). I 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 =...
2019 Oct 23
3
Inserting instructions when encountered a specific label
...IR without worrying about whether SelectionDAG will notice the new instructions. That’s true. I’m now trying to detect the specific label in the LLParser 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 (insid...
2019 Oct 23
2
Inserting instructions when encountered a specific label
...;” when parsing the instructions in SelectionDAGBuilder but it was only visiting instructions in the first/main BB and outputted %2. Which pass or phase would be the best to see if the current block’s label matches “true”, “false”, or “end” and insert an instruction inside that block? Thank you, Kaarthik A. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191023/25dfe8d6/attachment.html>
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