Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
90b3ef05
Commit
90b3ef05
authored
Apr 27, 2016
by
Christoph Mallon
Browse files
ia32: Remove unnecessary assert().
The verifier would have complained already, if a shift had float mode.
parent
fc8604d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
90b3ef05
...
...
@@ -1318,11 +1318,9 @@ static ir_node *skip_shift_amount_conv(ir_node *n)
*/
static
ir_node
*
gen_shift_binop
(
ir_node
*
const
node
,
ir_node
*
op1
,
ir_node
*
op2
,
construct_shift_func
*
const
func
,
construct_shift_func
*
const
func8
,
match_flags_t
const
flags
)
{
ir_mode
*
mode
=
get_irn_mode
(
node
);
assert
(
!
mode_is_float
(
mode
));
assert
((
flags
&
~
(
match_mode_neutral
|
match_sign_ext
|
match_zero_ext
))
==
0
);
ir_mode
*
const
mode
=
get_irn_mode
(
node
);
if
(
get_mode_modulo_shift
(
mode
)
!=
32
)
{
/* TODO: implement special cases for non-modulo shifts */
panic
(
"modulo shift!=32 not supported by ia32 backend"
);
...
...
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