search for: remarterialization

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

2019 Feb 22
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
...lue > Else > R3 = cst > = R3 > > When we spill R3, we don’t know if we are going to get the if or else part > of R3. Furthermore, if R3 was a constant on both paths, we would need to > emit a select-like instruction to pick the right value, which is definitely > not simple remarterialization. > > Let me know if I miss something, otherwise I feel there isn’t much we need > to do here. > > Cheers, > -Quentin > > On Feb 20, 2019, at 9:19 PM, Quentin Colombet via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > Thanks for the reduced test case, I’l...
2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
Thanks for the reduced test case, I’ll try to take a look by the end of the week. > On Feb 20, 2019, at 6:53 PM, Nemanja Ivanovic <nemanja.i.ibm at gmail.com> wrote: > > Finally managed to reduce this to something manageable: https://godbolt.org/z/Hw529k <https://godbolt.org/z/Hw529k> > > On line 40 of the output, we have a load-immediate to put zero into R3. Then we