[llvm-commits] [llvm] r143600 - in /llvm/trunk: lib/CodeGen/MachineInstr.cpp test/CodeGen/X86/MachineLICM-HoistSelectorRefs.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Nov 3 13:42:36 PDT 2011


On Nov 3, 2011, at 12:15 PM, Evan Cheng wrote:

> One more thing. Please make sure the register allocator knows these loads are safe to rematerialize. This is especially important if LICM is done at LLVM IR level which doesn't take register pressure into consideration.

The register allocator depends on MachineInstr::isInvariantLoad().

/jakob




More information about the llvm-commits mailing list