Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
cf3fb956
Commit
cf3fb956
authored
Aug 03, 2012
by
Simon Marlow
Browse files
MO_F_Mul and MO_F_Add are commutative
parent
82fa790a
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/cmm/CmmMachOp.hs
View file @
cf3fb956
...
...
@@ -198,6 +198,8 @@ isCommutableMachOp mop =
MO_And
_
->
True
MO_Or
_
->
True
MO_Xor
_
->
True
MO_F_Add
_
->
True
MO_F_Mul
_
->
True
_other
->
False
-- ----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment