aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2020-07-21 09:48:22 -0700
committerArthur Eubanks <aeubanks@google.com>2020-07-21 09:53:43 -0700
commitb13b85818218aa17cee4c987cbf835208c06cf10 (patch)
tree2bce9c98cf614ea5585d4351b1c3b4c726008f13 /llvm/unittests/Support/CommandLineTest.cpp
parent98efa3d57f0a38c9cd5433640a9abe6e7d9b7513 (diff)
downloadllvm-b13b85818218aa17cee4c987cbf835208c06cf10.zip
llvm-b13b85818218aa17cee4c987cbf835208c06cf10.tar.gz
llvm-b13b85818218aa17cee4c987cbf835208c06cf10.tar.bz2
[NewPM] Support optnone under new pass manager
OptNoneInstrumentation is part of StandardInstrumentations. It skips functions (or loops) that are marked optnone. The feature of skipping optional passes for optnone functions under NPM is gated on a -enable-npm-optnone flag. Currently it is by default false. That is because we still need to mark all required passes to be required. Otherwise optnone functions will start having incorrect semantics. After that is done in following changes, we can remove the flag and always enable this. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D83519
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions