Displaying 2 results from an estimated 2 matches for "ssaifying".
2016 Feb 08
2
Assigning constant value without alloca/load/store
...burgess.iv at gmail.com>:
> Hi!
>
> I don't know what "the right way" to do this is, but is there any reason
> you're against just using alloca/load/store? That's what clang emits for
> most locals/parameters/..., and LLVM tends to do a very good job of
> SSAifying that where it can. :)
>
> George
>
> On Sun, Feb 7, 2016 at 3:00 PM, Paul Peet via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hello,
>>
>> I am currently trying to translate some custom IR to LLVM-IR and came
>> across and issue.
>> Th...
2016 Feb 07
5
Assigning constant value without alloca/load/store
Hello,
I am currently trying to translate some custom IR to LLVM-IR and came
across and issue.
The custom IR has several registers and I am basically try to SSAfy it so
it can be easily translated/converted to LLVM-IR.
The problem:
Since in my custom IR I can reassign every register I have to reassign
every new expression with a new llvm Value. But my IR has something like
this:
REG A = VAR C