summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-08-23 22:35:38 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-08-23 22:35:38 +0000
commit792509b0dbab4e22897dabc0685a09c3a79acfe9 (patch)
tree9532f5d4b7addbaa4cf841c4415d9f5a4e5a6049 /clang/lib/CodeGen
parenta954242c881c42a4c3872a42a5730fbe8ee798cc (diff)
downloadbcm5719-llvm-792509b0dbab4e22897dabc0685a09c3a79acfe9.tar.gz
bcm5719-llvm-792509b0dbab4e22897dabc0685a09c3a79acfe9.zip
Register Polly passes automatically
Polly adds, after it is loaded into opt or clang, its passes to the default set of -O3 passes. This means optimizing a program with clang and Polly becomes as simple as executing. clang -Xclang -load -Xclang lib/LLVMPolly.so -O3 program.c The same should work for dragonegg powered gfortran, g++, ... or any other tool that uses the PassManagerBuilder. Warning: Even though using Polly became with this commit extremly easy, Polly is still Pre-Alpha Quality. This means in most cases it will rather destroy the world than doing anything positive. ;-) llvm-svn: 138402
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud