Commit Graph

3 Commits

Author SHA1 Message Date
Leonard Chan f66309203e [clang][NewPM] Add -fno-experimental-new-pass-manager to tests
As per the discussion on D58375, we disable test that have optimizations under
the new PM. This patch adds -fno-experimental-new-pass-manager to RUNS that:

- Already run with optimizations (-O1 or higher) that were missed in D58375.
- Explicitly test new PM behavior along side some new PM RUNS, but are missing
  this flag if new PM is enabled by default.
- Specify -O without the number. Based on getOptimizationLevel(), it seems the
  default is 2, and the IR appears to be the same when changed to -O2, so
  update the test to explicitly say -O2 and provide -fno-experimental-new-pass-manager`.

Differential Revision: https://reviews.llvm.org/D63156

llvm-svn: 364066
2019-06-21 16:03:06 +00:00
Yaron Keren 374b41a6aa Address David Blaikie comment by replacing grep with FileCheck.
llvm-svn: 305215
2017-06-12 18:29:37 +00:00
Yaron Keren c91c46c85e Add regression test for r305179.
llvm-svn: 305213
2017-06-12 18:05:13 +00:00