diff options
author | Gabor Greif <ggreif@gmail.com> | 2015-08-03 13:38:48 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2015-08-03 16:21:05 +0200 |
commit | 7ec6ffc4e8ccf5c24149d9ab34c3619516dc3081 (patch) | |
tree | c0be6db8439304b015ccba88f5d81899d2cd2343 /compiler/llvmGen | |
parent | d9d2102ea7f6da1bc3a69fa469b89ea843cb8b02 (diff) | |
download | haskell-7ec6ffc4e8ccf5c24149d9ab34c3619516dc3081.tar.gz |
Typos in comments [skip ci]
Diffstat (limited to 'compiler/llvmGen')
-rw-r--r-- | compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvmGen/LlvmCodeGen/CodeGen.hs b/compiler/llvmGen/LlvmCodeGen/CodeGen.hs index 517da53cab..9896c4040a 100644 --- a/compiler/llvmGen/LlvmCodeGen/CodeGen.hs +++ b/compiler/llvmGen/LlvmCodeGen/CodeGen.hs @@ -297,7 +297,7 @@ genCall (PrimTarget (MO_U_Mul2 w)) [dstH, dstL] [lhs, rhs] = do -- MO_U_QuotRem2 is another case we handle by widening the registers to double -- the width and use normal LLVM instructions (similarly to the MO_U_Mul2). The --- main difference here is that we need to conmbine two words into one register +-- main difference here is that we need to combine two words into one register -- and then use both 'udiv' and 'urem' instructions to compute the result. genCall (PrimTarget (MO_U_QuotRem2 w)) [dstQ, dstR] [lhsH, lhsL, rhs] = run $ do let width = widthToLlvmInt w |