Displaying 4 results from an estimated 4 matches for "opt_mno_stackrealign".
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
...gt; ~/src/llvm>
>
> Yet I can do the following:
>
> ~/src/llvm> $LLVM_INSTALL/bin/llc -O3 -mattr=-altivec vectest.ll
> ~/src/llvm>
>
> The general mechanism seems valid since code like this exists:
>
> if (Args.hasFlag(options::OPT_mstackrealign, options::OPT_mno_stackrealign,
> false)) {
> CmdArgs.push_back("-backend-option");
> CmdArgs.push_back("-force-align-stack");
> }
>
> But it doesn't like -mattr. Anyone have thoughts why?
I found some ideas to try in
http://lists.cs.uiuc.edu/pipermail/cfe...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...;
clang: Did you mean '-mxgot=-altivec'?
~/src/llvm>
Yet I can do the following:
~/src/llvm> $LLVM_INSTALL/bin/llc -O3 -mattr=-altivec vectest.ll
~/src/llvm>
The general mechanism seems valid since code like this exists:
if (Args.hasFlag(options::OPT_mstackrealign, options::OPT_mno_stackrealign,
false)) {
CmdArgs.push_back("-backend-option");
CmdArgs.push_back("-force-align-stack");
}
But it doesn't like -mattr. Anyone have thoughts why?
Thanks,
Bill
>
> Thanks,
> Bill
>
> >
> > Why this not done currently...
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> ----- Original Message -----
> > From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> > To: llvmdev at cs.uiuc.edu
> > Sent: Thursday, January 31, 2013 9:26:15 AM
> > Subject: [LLVMdev] Getting command line options to affect subtarget features
> >
> > The problem I'm trying to
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
...I can do the following:
> >
> > ~/src/llvm> $LLVM_INSTALL/bin/llc -O3 -mattr=-altivec vectest.ll
> > ~/src/llvm>
> >
> > The general mechanism seems valid since code like this exists:
> >
> > if (Args.hasFlag(options::OPT_mstackrealign, options::OPT_mno_stackrealign,
> > false)) {
> > CmdArgs.push_back("-backend-option");
> > CmdArgs.push_back("-force-align-stack");
> > }
> >
> > But it doesn't like -mattr. Anyone have thoughts why?
>
> I found some ideas to try i...