search for: interleaveonlywhenforced

Displaying 2 results from an estimated 2 matches for "interleaveonlywhenforced".

2019 May 13
2
Is it possible to reproduce the result of opt -O3 manually?
...Pass *llvm::createLICMPass(unsigned LicmMssaOptCap, unsigned LicmMssaNoAccForPromotionCap) { return new LegacyLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap); } or Pass *createLoopVectorizePass() { return new LoopVectorize(); } Pass *createLoopVectorizePass(bool InterleaveOnlyWhenForced, bool VectorizeOnlyWhenForced) { return new LoopVectorize(InterleaveOnlyWhenForced, VectorizeOnlyWhenForced); } When we give pass names, opt calls the default constructor (eg: LoopVectorize()) whereas when we give O3, it can call a different version. You can check in...
2019 May 09
2
Is it possible to reproduce the result of opt -O3 manually?
Dear developers, I am trying to reproduce the results of applying opt -O3 to a source file in the form of LLVM IR. I want to get the same IR by manually ordering the passes used by O3 and passing them to opt. To illustrate what I am doing on an example, as an input I use linpack benchmark from the LLVM test suite[1]: 1. First I produce the intermediate representation using clang: clang -O3