diff options
| author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-05-15 09:51:51 +0200 |
|---|---|---|
| committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-05-15 10:18:02 +0200 |
| commit | e199891f199795468cdcf977d5395d3c846cad72 (patch) | |
| tree | 25ea75c90079b8e9ad30dfff28f91b94fae0032b /compiler/llvmGen/LlvmCodeGen/CodeGen.hs | |
| parent | 2dd80f6913d05e0b170e4ab39d3fbf6fb6a8bf2f (diff) | |
| download | haskell-e199891f199795468cdcf977d5395d3c846cad72.tar.gz | |
Avoid trivial cases of NondecreasingIndentation
This cleanup allows the following refactoring commit to avoid adding a
few `{-# LANGUAGE NondecreasingIndentation #-}` pragmas.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'compiler/llvmGen/LlvmCodeGen/CodeGen.hs')
| -rw-r--r-- | compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/llvmGen/LlvmCodeGen/CodeGen.hs b/compiler/llvmGen/LlvmCodeGen/CodeGen.hs index 808c591d92..1140145d4d 100644 --- a/compiler/llvmGen/LlvmCodeGen/CodeGen.hs +++ b/compiler/llvmGen/LlvmCodeGen/CodeGen.hs @@ -1002,8 +1002,8 @@ genMachOp _ op [x] = case op of sameConv from ty reduce expand = do x'@(vx, stmts, top) <- exprToVar x let sameConv' op = do - (v1, s1) <- doExpr ty $ Cast op vx ty - return (v1, stmts `snocOL` s1, top) + (v1, s1) <- doExpr ty $ Cast op vx ty + return (v1, stmts `snocOL` s1, top) dflags <- getDynFlags let toWidth = llvmWidthInBits dflags ty -- LLVM doesn't like trying to convert to same width, so |
