Displaying 6 results from an estimated 6 matches for "optlevelchanger".
2015 Nov 17
2
Mips unconditionally uses fast-isel?
...ency-spill-slot-near-fp.ll
> > failed. This was surprising because it specifies -fast-isel=false.
> >
> > Does the Mips code generator use fast-isel even when you ask it not to?
> > Thanks,
> > --paulr
>
> This seems to be an all-targets bug. There's code in OptLevelChanger
> (lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp) that forces Fast ISel to
> be enabled for every -O0 function.
Well.... the test specifies -O0 so even though the function is marked
'optnone' I'd expect OptLevelChanger to be a no-op, because it checks
whether the old and new OptL...
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 ISel even when it's been explicitly disabl...
2015 Nov 18
4
Mips unconditionally uses fast-isel?
...58
> To: Daniel Sanders; llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
> Subject: RE: 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 ISel even when it...
2015 Nov 17
2
Mips unconditionally uses fast-isel?
...because it specifies -fast-isel=false.
> > > >
> > > > Does the Mips code generator use fast-isel even when you ask it not
> to?
> > > > Thanks,
> > > > --paulr
> > >
> > > This seems to be an all-targets bug. There's code in OptLevelChanger
> > > (lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp) that forces Fast ISel
> to
> > > be enabled for every -O0 function.
> >
> > Well.... the test specifies -O0 so even though the function is marked
> > 'optnone' I'd expect OptLevelChanger to be a...
2015 Nov 18
2
Mips unconditionally uses fast-isel?
...58
> To: Daniel Sanders; llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
> Subject: RE: 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 ISel even when it...
2015 Nov 16
2
Mips unconditionally uses fast-isel?
I was mucking around in FastISel, and was surprised to see the test
llvm/test/CodeGen/Mips/emergency-spill-slot-near-fp.ll
failed. This was surprising because it specifies -fast-isel=false.
Does the Mips code generator use fast-isel even when you ask it not to?
Thanks,
--paulr