[LLVMdev] [cfe-dev] "load groups" IR feature to improve C++ devirtualization

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed May 22 11:44:01 PDT 2013


> where %group must be the result of a call to llvm.load.group. Any two loads
> with the same %group value are known to produce the same value. We can then
> choose to eliminate the latter of the loads as redundant in GVN, or in the
> event of high register pressure we could choose to reload without spilling
> to the stack.

What mark would GVN leave on the IR for the register allocator to use
when rematerializing the load?

> Nick

Cheers,
Rafael



More information about the llvm-dev mailing list