Commit 805653f6 authored by John Ericson's avatar John Ericson Committed by Marge Bot
Browse files

Get rid of wildcard patterns in prim Cmm emitting code

This way, we can be sure we don't miss a case.
parent e3418e96
Pipeline #11045 failed with stages
in 215 minutes and 24 seconds
...@@ -576,7 +576,7 @@ isSimpleOp (StgPrimOp op) stg_args = do ...@@ -576,7 +576,7 @@ isSimpleOp (StgPrimOp op) stg_args = do
arg_exprs <- getNonVoidArgAmodes stg_args arg_exprs <- getNonVoidArgAmodes stg_args
dflags <- getDynFlags dflags <- getDynFlags
-- See Note [Inlining out-of-line primops and heap checks] -- See Note [Inlining out-of-line primops and heap checks]
return $! isJust $ shouldInlinePrimOp dflags op arg_exprs return $! shouldInlinePrimOp dflags op arg_exprs
isSimpleOp (StgPrimCallOp _) _ = return False isSimpleOp (StgPrimCallOp _) _ = return False
----------------- -----------------
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment