Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a1c47ade
Commit
a1c47ade
authored
Oct 13, 2017
by
Jeff Law
Committed by
Jeff Law
Oct 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-ssa-reassoc.c (reassociate_bb): Clarify code slighly.
From-SVN: r253740
parent
5c9c546b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/tree-ssa-reassoc.c
+1
-1
No files found.
gcc/ChangeLog
View file @
a1c47ade
2017
-
10
-
13
Jeff
Law
<
law
@
redhat
.
com
>
*
tree
-
ssa
-
reassoc
.
c
(
reassociate_bb
):
Clarify
code
slighly
.
2017
-
10
-
13
Jakub
Jelinek
<
jakub
@
redhat
.
com
>
2017
-
10
-
13
Jakub
Jelinek
<
jakub
@
redhat
.
com
>
PR
target
/
82274
PR
target
/
82274
gcc/tree-ssa-reassoc.c
View file @
a1c47ade
...
@@ -5910,7 +5910,7 @@ reassociate_bb (basic_block bb)
...
@@ -5910,7 +5910,7 @@ reassociate_bb (basic_block bb)
move it to the front. This helps ensure that we generate
move it to the front. This helps ensure that we generate
(X & Y) & C rather than (X & C) & Y. The former will
(X & Y) & C rather than (X & C) & Y. The former will
often match a canonical bit test when we get to RTL. */
often match a canonical bit test when we get to RTL. */
if
(
ops
.
length
()
!=
2
if
(
ops
.
length
()
>
2
&&
(
rhs_code
==
BIT_AND_EXPR
&&
(
rhs_code
==
BIT_AND_EXPR
||
rhs_code
==
BIT_IOR_EXPR
||
rhs_code
==
BIT_IOR_EXPR
||
rhs_code
==
BIT_XOR_EXPR
)
||
rhs_code
==
BIT_XOR_EXPR
)
...
...
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