diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2023-01-30 10:58:12 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-02-01 12:31:58 -0500 |
commit | 0cc16aaf89d7dc3963764b7193ceac73e4e3329b (patch) | |
tree | adc3703557a03a8f47ff897449a62319bd1f2000 /llvm-passes | |
parent | 955a99ea28a0d06de67f0595d366450281aab0c0 (diff) | |
download | haskell-0cc16aaf89d7dc3963764b7193ceac73e4e3329b.tar.gz |
Bump supported LLVM range from 10 through 15 to 11 through 16
LLVM 15 turns on the new pass manager by default, which we have yet to
migrate to so for new we pass the `-enable-new-pm-0` flag in our
llvm-passes flag.
LLVM 11 was the first version to support the `-enable-new-pm` flag so we
bump the lowest supported version to 11.
Our CI jobs are using LLVM 12 so they should continue to work despite
this bump to the lower bound.
Fixes #21936
Diffstat (limited to 'llvm-passes')
-rw-r--r-- | llvm-passes | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm-passes b/llvm-passes index 14eb62d87c..52d203e745 100644 --- a/llvm-passes +++ b/llvm-passes @@ -1,5 +1,5 @@ [ -(0, "-mem2reg -globalopt -lower-expect"), -(1, "-O1 -globalopt"), -(2, "-O2") +(0, "-enable-new-pm=0 -mem2reg -globalopt -lower-expect"), +(1, "-enable-new-pm=0 -O1 -globalopt"), +(2, "-enable-new-pm=0 -O2") ] |