search for: constanthoist

Displaying 3 results from an estimated 3 matches for "constanthoist".

2015 Dec 11
3
trouble hoisting GlobalValues
...in the dark. > > > > Can anyone can suggest a strategy for lowering a hoisted GV? The > > end > > result should be that the GV materializes as a simple > > move-immediate > > to register. Also, something similar-sounding to this is done in lib/Transforms/Scalar/ConstantHoisting.cpp -Hal > > Nothing simple. One possibility would be to make constants explicitly > materialized. Something like: > > https://github.com/apple/swift/blob/master/docs/SIL.rst#global-addr > > Which would also be useful for architectures where some constants are > exp...
2015 Dec 11
4
trouble hoisting GlobalValues
Hello LLVM, To reduce the code-size cost of relocations, I'm trying to hoist GlobalValues that are used many times. A new pass hides each hoisted GV behind a BITCAST in the dominating BB. The pass then updates users with the output of the BITCAST. This pass works properly AFAICT. The problems come in instruction selection. SelectionDAGBuilder::visitBitCast() treats the BITCAST as a no-op
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...gionInfo.cpp for Release+Asserts build llvm[3]: Compiling X86FixupLEAs.cpp for Release+Asserts build llvm[3]: Compiling BDCE.cpp for Release+Asserts build llvm[2]: Compiling RegionPass.cpp for Release+Asserts build llvm[3]: Compiling X86FloatingPoint.cpp for Release+Asserts build llvm[3]: Compiling ConstantHoisting.cpp for Release+Asserts build llvm[3]: Compiling SelectionDAGDumper.cpp for Release+Asserts build llvm[2]: Compiling RegionPrinter.cpp for Release+Asserts build llvm[3]: Compiling ConstantProp.cpp for Release+Asserts build llvm[3]: Compiling X86FrameLowering.cpp for Release+Asserts build llvm[3]...