Commit 0913ee35 authored by Matthias Braun's avatar Matthias Braun
Browse files

ldstopt: fix bad test in last commit

parent 2440a415
......@@ -488,7 +488,7 @@ static ir_node *transform_previous_value(ir_mode *const load_mode,
/* two complement values can be transformed with bitops */
if (get_mode_arithmetic(prev_mode) == irma_twos_complement &&
get_mode_arithmetic(prev_mode) == irma_twos_complement) {
get_mode_arithmetic(load_mode) == irma_twos_complement) {
/* produce a shift to adjust offset delta */
unsigned const shift = be_get_backend_param()->byte_order_big_endian
? prev_mode_len - load_mode_len - delta
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment