[Git][ghc/ghc][wip/llvm-ways] FIx T15155l not getting -fllvm

Krzysztof Gogolewski (@monoidal) gitlab at gitlab.haskell.org
Sun Oct 16 14:03:52 UTC 2022



Krzysztof Gogolewski pushed to branch wip/llvm-ways at Glasgow Haskell Compiler / GHC


Commits:
b75b85b1 by Krzysztof Gogolewski at 2022-10-16T16:02:11+02:00
FIx T15155l not getting -fllvm

- - - - -


1 changed file:

- testsuite/tests/codeGen/should_compile/Makefile


Changes:

=====================================
testsuite/tests/codeGen/should_compile/Makefile
=====================================
@@ -57,8 +57,8 @@ T15155:
 # Same as above, but in LLVM. Check that the static indirection b is compiled to
 # an alias.
 T15155l:
-	'$(TEST_HC)' $(TEST_HC_OPTS) -c -O0 -ddump-llvm T15155l.hs 2>/dev/null | \
-		grep -F "@T15155_b_closure = alias i8, i8* @T15155_a_closure"
+	'$(TEST_HC)' $(TEST_HC_OPTS) -c -O0 -fllvm -ddump-llvm -fforce-recomp T15155l.hs | \
+	        grep -F "alias i8, i8*"
 
 # Without -fcatch-nonexhaustive-cases `f` is non-CAFFY. With
 # -fcatch-nonexhaustive-cases it becomes CAFFY. Before CafInfo rework



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b75b85b14ceca9ef2acf81425b9aef12377f384e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b75b85b14ceca9ef2acf81425b9aef12377f384e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221016/c2ff41bc/attachment.html>


More information about the ghc-commits mailing list