summaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-09 14:10:02 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-09 14:10:02 +0000
commitf62058c3acd06e9651567189186dc996fb30267e (patch)
tree82a97c75fa399ae7382e551b8b1ef02d1252d0a1 /gcc/dse.c
parent29155aa82087b9745933d41d1b5b44f290d1993b (diff)
downloadgcc-f62058c3acd06e9651567189186dc996fb30267e.tar.gz
* dse.c (get_stored_val, get_call_args): Use gen_int_mode.
* expmed.c (expand_divmod): Likewise. * combine.c (simplify_if_then_else): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182164 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dse.c')
-rw-r--r--gcc/dse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index 13d2f27ca23..c4207df08ec 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -1950,7 +1950,7 @@ get_stored_val (store_info_t store_info, enum machine_mode read_mode,
c |= (c << shift);
shift <<= 1;
}
- read_reg = GEN_INT (trunc_int_for_mode (c, store_mode));
+ read_reg = gen_int_mode (c, store_mode);
read_reg = extract_low_bits (read_mode, store_mode, read_reg);
}
}
@@ -2459,7 +2459,7 @@ get_call_args (rtx call_insn, tree fn, rtx *args, int nargs)
{
if (!tmp || !CONST_INT_P (tmp))
return false;
- tmp = GEN_INT (trunc_int_for_mode (INTVAL (tmp), mode));
+ tmp = gen_int_mode (INTVAL (tmp), mode);
}
if (tmp)
args[idx] = tmp;