Displaying 2 results from an estimated 2 matches for "almeidajr".
Did you mean:
almeida
2014 Nov 27
2
[LLVMdev] How to make correct pattern for instruction?
...instruction in this case. As long as you have a way of adding two i32s (or
> any other type) using registers then LLVM will automatically do what you
> described when immediates are involved.
>
> Cheers,
>
> Johnny
>
> On Wed, Nov 26, 2014 at 11:50 PM, Carlos Almeida Jr. <almeidajr at gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm a beginner user using LLVM, and I'm trying to create a new backend
>> using CPU0 Tutorial as reference.
>> I have two instructions for add: add and addi (this is a pseudo
>> instruction, but imediate oper...
2014 Nov 26
2
[LLVMdev] How to make correct pattern for instruction?
Hi,
I'm a beginner user using LLVM, and I'm trying to create a new backend
using CPU0 Tutorial as reference.
I have two instructions for add: add and addi (this is a pseudo
instruction, but imediate operations is not available in architecture).
That is my idea: When the LLVM instruction selection find addi r3 = r2 +
value
must convert to this:
- load r1, value
- add r3 = r2 + r1
In