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
bb821298
Commit
bb821298
authored
29 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(simplify_if_then_else): Allow for case that condition might no longer
be a condition. From-SVN: r11555
parent
8a12c32d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/combine.c
+4
-0
No files found.
gcc/combine.c
View file @
bb821298
...
...
@@ -4034,6 +4034,10 @@ simplify_if_then_else (x)
SUBST
(
XEXP
(
x
,
2
),
true
);
temp
=
true
,
true
=
false
,
false
=
temp
,
cond
=
XEXP
(
x
,
0
);
/* It is possible that the conditional has been simplified out. */
true_code
=
GET_CODE
(
cond
);
comparison_p
=
GET_RTX_CLASS
(
true_code
)
==
'<'
;
}
/* If the two arms are identical, we don't need the comparison. */
...
...
This diff is collapsed.
Click to expand it.
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