[commit: ghc] master: LLVM: Use generic code for small size quot-rem ops (9f3e22b)
git at git.haskell.org
git at git.haskell.org
Thu Nov 22 21:05:55 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/9f3e22b9eb2e67323f965b652c37fdd73628b007/ghc
>---------------------------------------------------------------
commit 9f3e22b9eb2e67323f965b652c37fdd73628b007
Author: Peter Trommler <ptrommler at acm.org>
Date: Sun Nov 18 16:41:38 2018 +0100
LLVM: Use generic code for small size quot-rem ops
>---------------------------------------------------------------
9f3e22b9eb2e67323f965b652c37fdd73628b007
compiler/codeGen/StgCmmPrim.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/codeGen/StgCmmPrim.hs b/compiler/codeGen/StgCmmPrim.hs
index eb4d681..015eece 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
More information about the ghc-commits
mailing list