Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Disable all inlining in llvm-gcc/llvm-g++"
2010 Jan 28
1
[LLVMdev] function inlining of llvm-gcc versus gcc, and llvm-g++ versus g++?
Does llvm-gcc do more, less, or the same amount of function inlining as
gcc? What about llvm-g++ and g++?
I am specifically interested in inlining that occurs when I run with the
--emit-llvm command line flag like this:
llvm-gcc -c --emit-llvm foo.c
thus generating bitcode. That is, I am not interested at this moment in
what happens when I run the opt or llc tools
on the bit code after its
2018 Jan 09
0
Is -disable-llvm-passes and -disable-llvm-optzns different?
There's a hack in lib/Driver/ToolChains/Clang.cpp to accept "-mllvm
-disable-llvm-optzns" as a hack for legacy compatibility. It's deprecated
and the -Xclang spelling should be used.
There does appear to be a bug with "-mllvm -disable-llvm-optzns" and
-save-temps. -save-temps causes clang to be invoked separately to text
assembly into binary code, and it looks like
2018 Jan 09
0
Is -disable-llvm-passes and -disable-llvm-optzns different?
clang -O3 -mllvm -help -c LULESH.cc succeeds.
On Tue, Jan 9, 2018 at 2:05 AM, toddy wang <wenwangtoddy at gmail.com> wrote:
> Quick results:
>
> [twang15 at c89 temp]$ clang -mllvm -help
> clang-5.0: error: no input files
> [twang15 at c89 temp]$ clang -mllvm -help-hidden
> clang-5.0: error: no input files
> [twang15 at c89 temp]$ clang -mllvm --help-hidden
>
2018 Jan 09
2
Is -disable-llvm-passes and -disable-llvm-optzns different?
Hi guys,
According to this patch review:
*Title: Remove the '-disable-llvm-passes' flag (which I didn't even know
existed, and I suspect many others aren't aware of either) and strength
'-disable-llvm-optzns' to do the same thing*
Link: https://reviews.llvm.org/D28047
*-disable-llvm-optzns and -disable-llvm-passes are aliasing each other.*
*1. Both can be passed to cc1
2018 Jan 09
1
Is -disable-llvm-passes and -disable-llvm-optzns different?
Thanks for pointing this out.
The following is a more extensive test.
//succeed means dumping help info without Error message.
clang -help #succeed
'clang -help-hidden' #Fail
'clang --help-hidden' #Succeed
clang -mllvm -v -help #Succeed
clang -mllvm -v -help-hidden #Fail
clang -mllvm -v --help-hidden #Succeed
'clang -mllvm -help -c LULESH.cc' #Succeed
'clang -mllvm
2018 Jan 09
3
Is -disable-llvm-passes and -disable-llvm-optzns different?
Quick results:
[twang15 at c89 temp]$ clang -mllvm -help
clang-5.0: error: no input files
[twang15 at c89 temp]$ clang -mllvm -help-hidden
clang-5.0: error: no input files
[twang15 at c89 temp]$ clang -mllvm --help-hidden
clang-5.0: error: no input files
[twang15 at c89 temp]$ clang -mllvm --help
clang-5.0: error: no input files
Anything wrong?
On Tue, Jan 9, 2018 at 1:56 AM, Craig Topper
2010 Feb 08
2
[LLVMdev] State of 'llvm.pcmarker' Intrinsic
Hi list,
For a tool I'm working on I'd like to know where instructions end up in
compiled executables by looking them up in the symbol table. Therefore,
I've been trying to use the llvm.pcmarker Intrinsic, but I've had no luck.
When I pass .bc files with this intrinsic into llc, I'm given this error:
LLVM ERROR: Cannot yet select: 0x2026938: ch PCMarker 0x1f0c678, 0x20268b0
2009 Feb 12
1
[LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)
Hi,
> > I guess this is because the test suite is trying to run "llvm-gcc
> > -mllvm -disable-llvm-optzns", which never seems to work, because
> > llvm-gcc mangles the command line before it gets to cc1plus.
> That's correct. The driver changes the order of the options provided.
> You need to provided this option to cc1 / cc1plus directly
Dan fixed this
2010 Aug 27
1
[LLVMdev] llvm-link and ld option --whole-archive
Hello list,
On linux, ld has the following option:
--whole-archive
For each archive mentioned on the command line after the
--whole-archive option, include every object file in the archive
in
the link, rather than searching the archive for the required
object
files. This is normally used to turn an archive file into a
shared
library,
2009 Apr 28
1
[LLVMdev] O3 passes
Thanks for the help. When I run the following (where $llvm is the path
to my llvm installation):
$llvm/bin/llvm-gcc -c -o - -O1 tmp.c -emit-llvm -mllvm
--disable-llvm-optzns | $llvm/bin/opt -raiseallocs
I get the following error:
cc1: error: unrecognized command line option "-fdisable-llvm-optzns"
I am running llvm 2.5. I performed a
$llvm/libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1
2009 Feb 12
0
[LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)
Hello, Jay
> I guess this is because the test suite is trying to run "llvm-gcc
> -mllvm -disable-llvm-optzns", which never seems to work, because
> llvm-gcc mangles the command line before it gets to cc1plus.
That's correct. The driver changes the order of the options provided.
You need to provided this option to cc1 / cc1plus directly
> Is it just me having this
2017 Jul 10
2
disable optimizarions
Hello,
I have already asked how to receive unoptimized IR. This way:
clang -S -emit-llvm -O3 -mllvm -disable-llvm-optzns memset.c -o memset.s
I have noticed, that in any case, when I use O1, O2, O3 and disable
optimizations, I still get llvm intrinsics functions inserted.
when I put O0, I have no intrinsics, but have noopt attribute. Is there a
way to receive purely unoptimizaed IR without any
2011 Jun 10
1
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
On Thu, Jun 09, 2011 at 08:47:26PM -0400, Jack Howarth wrote:
> Duncan,
> Here are the complete benchmarks rerun against gcc 4.5.4 built with...
>
> Using built-in specs.
> COLLECT_GCC=gfortran-fsf-4.5
> COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin11.0.0/4.5.4/lto-wrapper
> Target: x86_64-apple-darwin11.0.0
> Configured with:
2011 Apr 15
1
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns impact
On Fri, Apr 15, 2011 at 08:53:19AM +0200, Duncan Sands wrote:
> Hi Jack,
>
> > Now that dragoneegg is robust in its default usage and the dragonegg svn
> > is moderately stable with -fplugin-arg-dragonegg-enable-gcc-optzns, it is
> > possible to gauge the impact of that feature. Comparing clang 2.9, FSF gcc 4.5.3svn,
> > FSF gcc 4.6.0 and dragonegg svn with FSF
2011 Jun 09
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Hi Jack, thanks for these numbers. Can you also please measure compile times?
I'm thinking of enabling gcc optimizations by default, but I don't want to
increase compile times, which means choosing a value for the
-fplugin-arg-dragonegg-llvm-ir-optimize option that is low enough to get good
compile times, yet high enough to get fast code. It would be great if you could
play around with
2011 Apr 15
2
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns impact
Now that dragoneegg is robust in its default usage and the dragonegg svn
is moderately stable with -fplugin-arg-dragonegg-enable-gcc-optzns, it is
possible to gauge the impact of that feature. Comparing clang 2.9, FSF gcc 4.5.3svn,
FSF gcc 4.6.0 and dragonegg svn with FSF gcc 4.5.3svn using the himenoBMTxpa benchmark,
the enhancement to code performance from
2011 Apr 15
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns impact
Hi Jack,
> Now that dragoneegg is robust in its default usage and the dragonegg svn
> is moderately stable with -fplugin-arg-dragonegg-enable-gcc-optzns, it is
> possible to gauge the impact of that feature. Comparing clang 2.9, FSF gcc 4.5.3svn,
> FSF gcc 4.6.0 and dragonegg svn with FSF gcc 4.5.3svn using the himenoBMTxpa benchmark,
> the enhancement to code performance from
2011 Jun 09
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Hi Jack, thanks for doing this.
> Below are the tabulated compile times and executable sizes.
>
> A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize
> B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns
> C) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize
These numbers really
2011 Jun 10
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Duncan,
Here are the complete benchmarks rerun against gcc 4.5.4 built with...
Using built-in specs.
COLLECT_GCC=gfortran-fsf-4.5
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin11.0.0/4.5.4/lto-wrapper
Target: x86_64-apple-darwin11.0.0
Configured with: ../gcc-4.5.4/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.5/info
2011 Jun 09
3
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
On Thu, Jun 09, 2011 at 03:44:40PM +0200, Duncan Sands wrote:
> Hi Jack, thanks for doing this.
>
>> Below are the tabulated compile times and executable sizes.
>>
>> A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize
>> B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns
>> C)