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

From-SVN: r232822
This commit is contained in:
Eric Botcazou 2016-01-26 12:06:36 +00:00 committed by Eric Botcazou
parent bc6e9db416
commit 6a8b00eb9c
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-26 Richard Biener <rguenther@suse.de>
PR middle-end/69467

View File

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