search for: newoptlevel

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

Did you mean: getoptlevel
2015 Nov 17
3
Mips unconditionally uses fast-isel?
> > The other thing that might work, is having TargetMachine remember how > > the fast-isel option got set, and make OptLevelChanger do the right > > thing. But that seems like a hack to work around Mips not obeying the > > specified optimization level, honestly. > > I think we should do that as well. I don't think it's right that optnone > enables Fast
2015 Nov 18
4
Mips unconditionally uses fast-isel?
...l -O1 SelectionDAG SelectionDAG FastISel -O2 SelectionDAG SelectionDAG FastISel -O3 SelectionDAG SelectionDAG FastISel The cells marked with '*' differ from the current behaviour. In terms of code, I think this part of OptLevelChanger::OptLevelChanger(): if (NewOptLevel == CodeGenOpt::None) { DEBUG(dbgs() << "\nEnable FastISel for Function " << IS.MF->getFunction()->getName() << "\n"); IS.TM.setFastISel(true); } Should be: if (NewOptLevel == CodeGenOpt::None) { DEBUG(dbgs() &l...
2015 Nov 18
2
Mips unconditionally uses fast-isel?
...l -O1 SelectionDAG SelectionDAG FastISel -O2 SelectionDAG SelectionDAG FastISel -O3 SelectionDAG SelectionDAG FastISel The cells marked with '*' differ from the current behaviour. In terms of code, I think this part of OptLevelChanger::OptLevelChanger(): if (NewOptLevel == CodeGenOpt::None) { DEBUG(dbgs() << "\nEnable FastISel for Function " << IS.MF->getFunction()->getName() << "\n"); IS.TM.setFastISel(true); } Should be: if (NewOptLevel == CodeGenOpt::None) { DEBUG(dbgs() &l...