git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182086
91177308-0d34-0410-b5e6-
96231b3b80d8
bool HexagonPassConfig::addPreSched2() {
const HexagonTargetMachine &TM = getHexagonTargetMachine();
- HexagonTargetObjectFile &TLOF =
- (HexagonTargetObjectFile&)(getTargetLowering()->getObjFileLowering());
+ const HexagonTargetObjectFile &TLOF =
+ (const HexagonTargetObjectFile &)getTargetLowering()->getObjFileLowering();
addPass(createHexagonCopyToCombine());
if (getOptLevel() != CodeGenOpt::None)