search for: ssafy

Displaying 2 results from an estimated 2 matches for "ssafy".

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 + CONST 2 REG A = CONST 12 So my workaround looks like: ; I a...
2016 Feb 08
2
Assigning constant value without alloca/load/store
...b 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. >> 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: >> >>...