summaryrefslogtreecommitdiff
path: root/llvm-passes
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-09-14 16:59:18 -0400
committerBen Gamari <ben@smart-cactus.org>2022-10-11 14:14:21 -0400
commit249c4d6dff45e1d9746de424b7c9becc7974adf4 (patch)
tree65a9905d7b19cdadabf84435b6d2642f0f4ea542 /llvm-passes
parentdce9f320ce7275fa97f49abef604abbc3b0f9a9c (diff)
downloadhaskell-wip/T21936.tar.gz
llvmGen: Adapt to allow LLVM 15wip/T21936
We now must use `-passes` in place of `-O<n>` due to #21936. Closes #21936.
Diffstat (limited to 'llvm-passes')
-rw-r--r--llvm-passes6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm-passes b/llvm-passes
index 14eb62d87c..bfc846e812 100644
--- a/llvm-passes
+++ b/llvm-passes
@@ -1,5 +1,5 @@
[
-(0, "-mem2reg -globalopt -lower-expect"),
-(1, "-O1 -globalopt"),
-(2, "-O2")
+(0, "-passes=mem2reg,globalopt,lower-expect"),
+(1, "-passes=default1,-globalopt"),
+(2, "-passes=default2")
]