search for: is_remat

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

Did you mean: is_read
2015 Jul 15
1
[LLVMdev] Poor register allocation (constants causing spilling)
...t think to fix. As long as a live-range is rematerializable, we should reflect that properly in the spill weight. > Could you clean up your patch to fix that? Unfortunately my change was an ugly hack that was good enough for my experiment but not the right approach for a proper fix (it added an is_remat bool to the interval class, and adjusted the weights and propagated the flag after local splitting - as they're in the same basic block they should remain rematerializable). I'm now looking at a proper fix, although it may take some time... Thanks, Rob.
2015 Jul 14
4
[LLVMdev] Poor register allocation (constants causing spilling)
Hi, While investigating a performance issue with an internal codebase I came across what looks to be poor register allocation. I have constructed a small(ish) reproducible which demonstrates the issue (see test.ll attached). I have spent some time going through the register allocator to understand what is happening. I have also experimented with some small changes to try and improve the