search for: getfoldedspillsize

Displaying 4 results from an estimated 4 matches for "getfoldedspillsize".

2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
...r the faint of heart :) This is from a large and messy C file (Perlbench's regexec.c), reduced by bugpoint down to 1050 lines of IR. Perhaps I can paste it on pastebin. Just for fun, I added some debug dumps for machine instructions that spill registers (i.e. return non-zero from MachineInstr::getFoldedSpillSize()) that are fed by load-immediates and kill that register. Then I bootstrapped LLVM/Clang/compiler-rt with those dumps. Turns out there are 5692 occurrences of that. I might have more luck reducing one of those files. On Wed, Feb 20, 2019 at 7:16 PM Quentin Colombet <qcolombet at apple.com>...
2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
...heart :) > This is from a large and messy C file (Perlbench's regexec.c), reduced by bugpoint down to 1050 lines of IR. Perhaps I can paste it on pastebin. > > Just for fun, I added some debug dumps for machine instructions that spill registers (i.e. return non-zero from MachineInstr::getFoldedSpillSize()) that are fed by load-immediates and kill that register. Then I bootstrapped LLVM/Clang/compiler-rt with those dumps. Turns out there are 5692 occurrences of that. I might have more luck reducing one of those files. > > On Wed, Feb 20, 2019 at 7:16 PM Quentin Colombet <qcolombet at appl...
2019 Feb 22
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
...and messy C file (Perlbench's regexec.c), reduced by >> bugpoint down to 1050 lines of IR. Perhaps I can paste it on pastebin. >> >> Just for fun, I added some debug dumps for machine instructions that >> spill registers (i.e. return non-zero from >> MachineInstr::getFoldedSpillSize()) that are fed by load-immediates and >> kill that register. Then I bootstrapped LLVM/Clang/compiler-rt with those >> dumps. Turns out there are 5692 occurrences of that. I might have more luck >> reducing one of those files. >> >> On Wed, Feb 20, 2019 at 7:16 PM Quen...
2019 Feb 21
2
How to get Greedy RA to not spill results of trivially rematerializable instructions
I have encountered a rather odd situation with Greedy where it will end up spilling a register that was populated with a zero (with a trivially rematerializable load-immediate instruction). In fact, it spills 3 such values (LICM moves stuff out of a loop, register coalescer replaces copies with load-immediates and then Greedy spills them). I personally can't think of a situation where a spill