[PATCH] D89371: [NPM] Port -loop-versioning-licm to NPM
Ta-Wei Tu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 11:10:20 PDT 2020
TaWeiTu added a comment.
In D89371#2332731 <https://reviews.llvm.org/D89371#2332731>, @aeubanks wrote:
> `./build/rel/bin/opt -S -o - -enable-new-pm=0 -O1 -loop-versioning-licm -licm -debug-pass=Structure llvm/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll --print-before-all` shows that -O1 runs first, then the LICM passes. In `opt.cpp` it checks the order they are passed on the command line and adds them in that order (including `-O#`).
> So I think running it through the tests through legacy -O1 and using that as the actual test would work.
Ah, my bad, thanks for clarifying! However,
./bin/opt -S -O1 loopversioningLICM1.ll -o O1.ll
./bin/opt -S -loop-versioning-licm -licm O1.ll
does not seem to be working for me for some unknown reasons. I'll dive into it more deeply tomorrow.
Thanks for your time.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89371/new/
https://reviews.llvm.org/D89371
More information about the llvm-commits
mailing list