summaryrefslogtreecommitdiff
path: root/llvm-passes
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-06 12:28:36 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-20 15:32:52 -0500
commit442751c605d8a9792014a9e3e694db5b312e80c3 (patch)
treef145ef67c313bd3d89395777e5020d8843e802bb /llvm-passes
parentf3d7fdb3437a6161cf7ff1f30cd0a6563bf07db0 (diff)
downloadhaskell-442751c605d8a9792014a9e3e694db5b312e80c3.tar.gz
llvmGen: Add lower-expect to the -O0 optimisation set
@kavon says that this will improve block layout for stack checks.
Diffstat (limited to 'llvm-passes')
-rw-r--r--llvm-passes2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm-passes b/llvm-passes
index 5183c9f2ab..14eb62d87c 100644
--- a/llvm-passes
+++ b/llvm-passes
@@ -1,5 +1,5 @@
[
-(0, "-mem2reg -globalopt"),
+(0, "-mem2reg -globalopt -lower-expect"),
(1, "-O1 -globalopt"),
(2, "-O2")
]