Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,274
Issues
4,274
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
412
Merge Requests
412
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
cf3fb956
Commit
cf3fb956
authored
Aug 03, 2012
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MO_F_Mul and MO_F_Add are commutative
parent
82fa790a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
compiler/cmm/CmmMachOp.hs
compiler/cmm/CmmMachOp.hs
+2
-0
No files found.
compiler/cmm/CmmMachOp.hs
View file @
cf3fb956
...
@@ -198,6 +198,8 @@ isCommutableMachOp mop =
...
@@ -198,6 +198,8 @@ isCommutableMachOp mop =
MO_And
_
->
True
MO_And
_
->
True
MO_Or
_
->
True
MO_Or
_
->
True
MO_Xor
_
->
True
MO_Xor
_
->
True
MO_F_Add
_
->
True
MO_F_Mul
_
->
True
_other
->
False
_other
->
False
-- ----------------------------------------------------------------------------
-- ----------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
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