Fix a major copy'n'paste error in LLVM CodeGen
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Sun, 22 Jul 2018 15:33:32 +0000 (17:33 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Sun, 22 Jul 2018 15:33:32 +0000 (17:33 +0200)
commitf629442be93f4608e6bb53bfe2264a406230c546
treeaf435a3efbb1167abec51b63879d2b47c98f0080
parent4ea9311cc5c3b99ea6915bee23f0a6776731f20e
Fix a major copy'n'paste error in LLVM CodeGen

Summary:
In D4592, `AddWordC` is lowered as an unsigned subtraction instead
of an unsigned addition when compiling with LLVM.

This patch rectifies that.

Reviewers: angerman, bgamari, monoidal

Reviewed By: angerman, bgamari, monoidal

Subscribers: osa1, rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4969
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
testsuite/tests/numeric/should_run/all.T