search for: maxpromot

Displaying 1 result from an estimated 1 matches for "maxpromot".

Did you mean: maxprot
2008 May 23
0
[LLVMdev] mem2reg & reg2mem
I have a register allocation bug I'm trying to track down. It's caused by a convoluted series of events that results in a massive amount of code, so looking at asm diffs is rather unhelpful. I came up with the bright idea of adding a MaxPromotes flag to limit the number of candidates that mem2reg promotes. But I couldn't figure out how to safely promote some candidates but not others. At the end of the pass, llvm assumes it can just delete all allocas. So I took plan B and added a MaxDemotes to the reg2mem pass and ran it right bef...