[NPM][opt] Run -O# after other passes in legacy PM compatibility mode
authorArthur Eubanks <aeubanks@google.com>
Mon, 19 Oct 2020 18:28:45 +0000 (11:28 -0700)
committerArthur Eubanks <aeubanks@google.com>
Mon, 19 Oct 2020 18:48:44 +0000 (11:48 -0700)
commit65e5006962bd49d0236a18d6772ea9f165b8c41a
tree879697c6d26bbe42074e8a265aca1f4661e6b6d6
parent340181f29afece5abdf98aa61855b9826726d4df
[NPM][opt] Run -O# after other passes in legacy PM compatibility mode

Generally tests run -O# before other passes, not after.
llvm/test/Transforms/LoopVectorize/X86/metadata-enable.ll
llvm/tools/opt/opt.cpp