[llvm-dev] trouble hoisting GlobalValues
Steve King via llvm-dev
llvm-dev at lists.llvm.org
Fri Dec 11 16:49:31 PST 2015
On Fri, Dec 11, 2015 at 2:33 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> Also, something similar-sounding to this is done in lib/Transforms/Scalar/ConstantHoisting.cpp
>> Nothing simple. One possibility would be to make constants explicitly
>> materialized. Something like:
>> Which would also be useful for architectures where some constants are
>> expensive to place in a register.
Thanks Hal and Rafael. The GV hoisting pass started life as a cut and
paste of ConstantHoisting.cpp.
Since there doesn't seem to be a ready solution, I'll try building in
More information about the llvm-dev