summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm/Opt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Cmm/Opt.hs')
-rw-r--r--compiler/GHC/Cmm/Opt.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/GHC/Cmm/Opt.hs b/compiler/GHC/Cmm/Opt.hs
index 8035d7b2bd..676c1270b5 100644
--- a/compiler/GHC/Cmm/Opt.hs
+++ b/compiler/GHC/Cmm/Opt.hs
@@ -108,10 +108,6 @@ cmmMachOpFoldM platform conv_outer [CmmMachOp conv_inner [x]]
intconv True = MO_SS_Conv
intconv False = MO_UU_Conv
--- ToDo: a narrow of a load can be collapsed into a narrow load, right?
--- but what if the architecture only supports word-sized loads, should
--- we do the transformation anyway?
-
cmmMachOpFoldM platform mop [CmmLit (CmmInt x xrep), CmmLit (CmmInt y _)]
= case mop of
-- for comparisons: don't forget to narrow the arguments before