Displaying 4 results from an estimated 4 matches for "opt_mstackrealign".
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
...'-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?
I found some ideas to try in
http://...
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
.... Try: 'clang -help'
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
>
> >
> &...
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
...;
> >
> > 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?
>
&...