[LLVMdev] Duplicate loading of double constants

Eric Christopher echristo at gmail.com
Wed Apr 23 16:48:59 PDT 2014


> I figured it was trying to avoid adding register pressure, but shouldn't it
> be more aggressive with constants? Isn't register allocator smart enough to
> spill constants when it runs out of registers?
>
> Also, what do you think on commuting addps in the second example?
>

I think this is a problem in CSE and we should have handled it there
and submitted a patch yesterday for this :)

-eric



More information about the llvm-dev mailing list