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
f9c08345
Commit
f9c08345
authored
Jul 06, 2011
by
Bernd Schmidt
Committed by
Bernd Schmidt
Jul 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* simplify-rtx.c (simplify_ternary_operation): Remove dead code.
From-SVN: r175918
parent
2d0c270f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
gcc/ChangeLog
+2
-0
gcc/simplify-rtx.c
+0
-9
No files found.
gcc/ChangeLog
View file @
f9c08345
...
...
@@ -16,6 +16,8 @@
Likewise.
* rtl.h (val_mode_signbit_p, val_mode_signbit_set_p): Declare.
* simplify-rtx.c (simplify_ternary_operation): Remove dead code.
2011-07-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49645
...
...
gcc/simplify-rtx.c
View file @
f9c08345
...
...
@@ -4970,15 +4970,6 @@ simplify_ternary_operation (enum rtx_code code, enum machine_mode mode,
val
|=
~
(((
unsigned
HOST_WIDE_INT
)
1
<<
INTVAL
(
op1
))
-
1
);
}
/* Clear the bits that don't belong in our mode,
unless they and our sign bit are all one.
So we get either a reasonable negative value or a reasonable
unsigned value for this mode. */
if
(
width
<
HOST_BITS_PER_WIDE_INT
&&
((
val
&
((
unsigned
HOST_WIDE_INT
)
(
-
1
)
<<
(
width
-
1
)))
!=
((
unsigned
HOST_WIDE_INT
)
(
-
1
)
<<
(
width
-
1
))))
val
&=
((
unsigned
HOST_WIDE_INT
)
1
<<
width
)
-
1
;
return
gen_int_mode
(
val
,
mode
);
}
break
;
...
...
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