search for: setfastisel

Displaying 5 results from an estimated 5 matches for "setfastisel".

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?
...viour. 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() << "\nEnable FastISel for Function " << IS.MF->getFunction()->getName() << "\n"); IS.TM.setFastISel(EnableFastISelOption != cl::BOU_FALSE);...
2015 Nov 18
2
Mips unconditionally uses fast-isel?
...viour. 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() << "\nEnable FastISel for Function " << IS.MF->getFunction()->getName() << "\n"); IS.TM.setFastISel(EnableFastISelOption != cl::BOU_FALSE);...
2016 Feb 05
2
MCJit Runtine Performance
...greedy one is > default? > > As for other target machine optimizations: > > I have tried: > > llvm::TargetMachine* tm = ...; > > tm->setOptLevel(llvm::CodeGenOpt::Aggressive); > > And it doesn't make much of a difference. > > And also: > > tm->setFastISel(true); > > (previous email). > > Is there anything else I can try? > > > On 05/02/16 11:16, Hal Finkel wrote: >> >> ----- Original Message ----- >>> >>> From: "Keno Fischer via llvm-dev" <llvm-dev at lists.llvm.org> >>> To:...
2016 Feb 05
6
MCJit Runtine Performance
----- Original Message ----- > From: "Keno Fischer via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Morten Brodersen" <Morten.Brodersen at constrainttec.com> > Cc: "llvm-dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, February 4, 2016 6:05:29 PM > Subject: Re: [llvm-dev] MCJit Runtine Performance > > > > Yes,