[PATCH] D89371: [NPM] Port -loop-versioning-licm to NPM
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 10:15:27 PDT 2020
aeubanks added a comment.
`./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.
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