summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-05-24 14:09:30 -0400
committerBen Gamari <ben@smart-cactus.org>2022-07-20 22:37:31 -0400
commit85b99a0053631cdbd055f4ed9dd28301df2b2231 (patch)
treeb871dbaeb6d438ba8bde2411ec583039b5ecaa41
parent2deb51b706657539ccc24adf2bef313fb686517a (diff)
downloadhaskell-85b99a0053631cdbd055f4ed9dd28301df2b2231.tar.gz
cmm: Add surface syntax for MO_MulMayOflo
(cherry picked from commit 6dd8a3ca1d96a662d9a0c19c5b769536fa6472b8)
-rw-r--r--compiler/GHC/Cmm/Parser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Cmm/Parser.y b/compiler/GHC/Cmm/Parser.y
index 100e4f9b65..8d5d118e75 100644
--- a/compiler/GHC/Cmm/Parser.y
+++ b/compiler/GHC/Cmm/Parser.y
@@ -963,6 +963,8 @@ machOps = listToUFM $
( "eq", MO_Eq ),
( "ne", MO_Ne ),
( "mul", MO_Mul ),
+ ( "mulmayoflo", MO_S_MulMayOflo ),
+ ( "mulmayoflou", MO_U_MulMayOflo ),
( "neg", MO_S_Neg ),
( "quot", MO_S_Quot ),
( "rem", MO_S_Rem ),