summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmPrim.hs
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2018-11-18 16:41:38 +0100
committerBen Gamari <ben@smart-cactus.org>2018-11-22 16:04:45 -0500
commit9f3e22b9eb2e67323f965b652c37fdd73628b007 (patch)
tree29e6409ecb58bacab9dbda71f0b2e17653e358cb /compiler/codeGen/StgCmmPrim.hs
parent254890855ee04762cc0392da19e0c42fc039a718 (diff)
downloadhaskell-9f3e22b9eb2e67323f965b652c37fdd73628b007.tar.gz
LLVM: Use generic code for small size quot-rem ops
Diffstat (limited to 'compiler/codeGen/StgCmmPrim.hs')
-rw-r--r--compiler/codeGen/StgCmmPrim.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/StgCmmPrim.hs b/compiler/codeGen/StgCmmPrim.hs
index eb4d681923..015eeced05 100644
--- a/compiler/codeGen/StgCmmPrim.hs
+++ b/compiler/codeGen/StgCmmPrim.hs
@@ -885,7 +885,7 @@ callishPrimOpSupported dflags op
| otherwise -> Right (genericIntQuotRemOp W8)
Int16QuotRemOp | (ncg && x86ish)
- || llvm -> Left (MO_S_QuotRem W16)
+ -> Left (MO_S_QuotRem W16)
| otherwise -> Right (genericIntQuotRemOp W16)
@@ -904,7 +904,7 @@ callishPrimOpSupported dflags op
| otherwise -> Right (genericWordQuotRemOp W8)
Word16QuotRemOp| (ncg && x86ish)
- || llvm -> Left (MO_U_QuotRem W16)
+ -> Left (MO_U_QuotRem W16)
| otherwise -> Right (genericWordQuotRemOp W16)
WordAdd2Op | (ncg && (x86ish