X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fcmm%2FMachOp.hs;h=422ed5eac074c50784dce374c4ce4cc2e5e1812d;hp=f2aadcf897d4bb4ee755d38e0c73a3762150765e;hb=a17889597792b1f2db29bdb92f4d1ee3a677d258;hpb=b025092d120eb8799ba0408cf96fb7cacb55db76 diff --git a/compiler/cmm/MachOp.hs b/compiler/cmm/MachOp.hs index f2aadcf..422ed5e 100644 --- a/compiler/cmm/MachOp.hs +++ b/compiler/cmm/MachOp.hs @@ -480,10 +480,10 @@ cLongRep = I64 -- isCommutableMachOp {- | -Returns 'True' if the MachOp has commutable arguments. This is used +Returns @True@ if the MachOp has commutable arguments. This is used in the platform-independent Cmm optimisations. -If in doubt, return 'False'. This generates worse code on the +If in doubt, return @False@. This generates worse code on the native routes, but is otherwise harmless. -} isCommutableMachOp :: MachOp -> Bool @@ -504,10 +504,10 @@ isCommutableMachOp mop = -- isAssociativeMachOp {- | -Returns 'True' if the MachOp is associative (i.e. @(x+y)+z == x+(y+z)@) +Returns @True@ if the MachOp is associative (i.e. @(x+y)+z == x+(y+z)@) This is used in the platform-independent Cmm optimisations. -If in doubt, return 'False'. This generates worse code on the +If in doubt, return @False@. This generates worse code on the native routes, but is otherwise harmless. -} isAssociativeMachOp :: MachOp -> Bool @@ -524,7 +524,7 @@ isAssociativeMachOp mop = -- isComparisonMachOp {- | -Returns 'True' if the MachOp is a comparison. +Returns @True@ if the MachOp is a comparison. If in doubt, return False. This generates worse code on the native routes, but is otherwise harmless.