search for: inferattr

Displaying 4 results from an estimated 4 matches for "inferattr".

Did you mean: inferattrs
2017 Oct 14
2
IR Pass Ordering Sensitivity
...way of determining pass dependencies so that I can encode them into the tuner? The test program can be found here: https://gist.github.com/kavon/92d153cdd54ce9b77162af3af47d4c95 Here's what happens: kavon at cronus:~/m/autotune|master⚡*? ➤ /Users/kavon/msr/llvm5/bin/opt -inline -mem2reg -inferattrs -ipconstprop -gvn -simplifycfg -bdce -sink -dse -adce -instcombine -early-cse-memssa -early-cse-memssa -dse -adce -simplifycfg -sink -ipconstprop -gvn -bdce -instcombine -jump-threading -inline -sroa ./src/apps/raytracer.bc -o ./out/raytracer_opt1043.bc 0 opt 0x000000010ebd44...
2017 Mar 01
5
Any indispensable passes?
...ee the semantics? Here's my workflow just in case: ********************************************************************************* 1. Compile the source code to unoptimized IRs: clang -c -emit-llvm -O0 test.c -o test.bc 2. Run opt with a set of IR->IR passes, e.g., opt -simplifycfg -sroa -inferattrs -globalopt -instcombine -simplifycfg -prune-eh -inline -tailcallelim -simplifycfg -loop-simplify -lcssa -loop-rotate -licm -gvn -verify test.bc -o test.bc 3. Run llc with -O0: llc -file-type=obj test.bc -o test.o 4. Last link all the object files: clang -O0 test1.o test2.o -o test ***************...
2017 Mar 01
2
Any indispensable passes?
...y workflow just in case: > ************************************************************ > ********************* > 1. Compile the source code to unoptimized IRs: > clang -c -emit-llvm -O0 test.c -o test.bc > 2. Run opt with a set of IR->IR passes, e.g., > opt -simplifycfg -sroa -inferattrs -globalopt -instcombine -simplifycfg > -prune-eh -inline -tailcallelim -simplifycfg -loop-simplify -lcssa > -loop-rotate -licm -gvn -verify test.bc -o test.bc > 3. Run llc with -O0: > llc -file-type=obj test.bc -o test.o > 4. Last link all the object files: > clang -O0 test1.o t...
2018 Jun 30
4
Determine reason for failure at -O1
Hi Everyone, We caught a report for a failed self test when using Clang 5.0 and 6.0 with -DDEBUG and -O1 (i.e., a "debug build"). The code is question is located at https://github.com/weidai11/cryptopp/blob/master/cham-simd.cpp . It is the SSSE3 code path for CHAM64. Other optimizations levels are OK for Clang. GCC, ICC and MSVC are OK. The code is valgrind, Sanitizer, Coverity and