* config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.

From-SVN: r232823
This commit is contained in:
Eric Botcazou 2016-01-26 12:07:13 +00:00 committed by Eric Botcazou
parent fb6fdec59a
commit 3def2f0042
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
* config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
2016-01-23 Tom de Vries <tom@codesourcery.com> 2016-01-23 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/69426 PR tree-optimization/69426

View File

@ -1953,7 +1953,7 @@ ia64_expand_vecint_compare (enum rtx_code code, machine_mode mode,
/* Subtract (-(INT MAX) - 1) from both operands to make /* Subtract (-(INT MAX) - 1) from both operands to make
them signed. */ them signed. */
mask = GEN_INT (0x80000000); mask = gen_int_mode (0x80000000, SImode);
mask = gen_rtx_CONST_VECTOR (V2SImode, gen_rtvec (2, mask, mask)); mask = gen_rtx_CONST_VECTOR (V2SImode, gen_rtvec (2, mask, mask));
mask = force_reg (mode, mask); mask = force_reg (mode, mask);
t1 = gen_reg_rtx (mode); t1 = gen_reg_rtx (mode);