Displaying 4 results from an estimated 4 matches for "bug17623".
2015 Jan 03
4
[LLVMdev] LTO v. opt
...the 3.6 LLVM binaries (from a few month old local branch).
The default version of “ld” from Apple supports an option “-save-temps” which I believe saves bitcode both before and after the optimizer (and the bug is visible as a difference between these two)
~/llvm-install/bin/clang -flto -O2 -c -o bug17623.o bug17623.c
"/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -lSystem /Users/dcallahan/llvm-install/bin/..\
/lib/clang/3.6.0/lib/darwin/libclang_rt.osx.a -save-temps -o bug36 bug17623.o
(this produces bug36.lto.bc and bug36.lto.opt.bc)
However, if I use “opt” t...
2015 Jan 05
2
[LLVMdev] LTO v. opt
...th old local branch).
>>
>> The default version of “ld” from Apple supports an option “-save-temps” which I believe saves bitcode both before and after the optimizer (and the bug is visible as a difference between these two)
>>
>> ~/llvm-install/bin/clang -flto -O2 -c -o bug17623.o bug17623.c
>> "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -lSystem /Users/dcallahan/llvm-install/bin/..\
>> /lib/clang/3.6.0/lib/darwin/libclang_rt.osx.a -save-temps -o bug36 bug17623.o
>>
>> (this produces bug36.lto.bc and bug36.l...
2015 Jan 05
2
[LLVMdev] LTO v. opt
...on -domtree -memdep -gvn -memdep -memcpyopt -dse -loops -\
scalar-evolution -loop-simplify -lcssa -indvars -loop-deletion -branch-prob -block-freq -loop-vectorize -scalar-evolution -alignment-from-assumptions -instcombine -lazy-val\
ue-info -jump-threading -simplifycfg -globaldce -verify -verify-di bug17623a.o
opt: Unknown command line argument '-basictti'. Try: 'bin/opt -help'
opt: Did you mean '-basiccg'?
opt: Unknown command line argument '-x86tti'. Try: 'bin/opt -help'
opt: Did you mean '-notti'?
opt: Unknown command line argument '-verify-di...
2015 Feb 04
2
[LLVMdev] LTO regression test Bug 17623
Hello,
I have a fix for Bug17623 (http://llvm.org/bugs/show_bug.cgi?id=17623) but I am not sure how best to install a regression test. The commands I use to run the test are (approximately)
$LLVM/clang -flto -O2 -o BUG.o -c BUG.c
$LLVM/llvm-lto -exported-symbol=main -o lto.o BUG.o
$LLVM/clang -o bug lto.o
./bug
Where the failin...