[llvm] r181344 - Hexagon: Fix Small Data support to handle -G 0 correctly.
Jyotsna Verma
jverma at codeaurora.org
Mon May 13 09:50:31 PDT 2013
>> bool HexagonPassConfig::addPreSched2() {
>> + const HexagonTargetMachine &TM = getHexagonTargetMachine();
>> + HexagonTargetObjectFile &TLOF =
>> +
>> + (HexagonTargetObjectFile&)(getTargetLowering()->getObjFileLowering()
>> + );
>> +
>> + if (getOptLevel() != CodeGenOpt::None)
>> + addPass(&IfConverterID);
>> + if (!TLOF.IsSmallDataEnabled()) {
>> + addPass(createHexagonSplitConst32AndConst64(TM));
>> + printAndVerify("After hexagon split const32/64 pass"); } return
>> + true;
>> if (getOptLevel() != CodeGenOpt::None)
>> addPass(&IfConverterID);
>> return false;
>
>Code after return?
>
>- Ben
Thanks for pointing it out. Looks like I made the mistake while applying the
patch. Will have it fixed soon.
- Jyotsna
More information about the llvm-commits
mailing list