summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-05-24 14:09:30 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-15 20:33:40 -0400
commite128b7b8a139a1b952aa409811f181572f5b607b (patch)
tree16001b05fb9fb8c88c850cb13c1db61d933dd76d /compiler/GHC/Cmm
parentcdc75a1fedfa3c0f6b3fb365247e7fbc53b9147b (diff)
downloadhaskell-e128b7b8a139a1b952aa409811f181572f5b607b.tar.gz
cmm: Add surface syntax for MO_MulMayOflo
Diffstat (limited to 'compiler/GHC/Cmm')
-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 5671521b49..92ff930bf1 100644
--- a/compiler/GHC/Cmm/Parser.y
+++ b/compiler/GHC/Cmm/Parser.y
@@ -960,6 +960,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 ),