diff options
author | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-12-16 14:23:38 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-12-16 14:23:38 +0000 |
commit | b4ddce3663ce151423f81c9e2a206df3081d1071 (patch) | |
tree | 0932d4f8ba3dd51e383d00346fdcab38cc45d073 /gcc/emit-rtl.c | |
parent | 7e594332e400b26cd2df4a40980d08ffc7fcfc1a (diff) | |
download | gcc-b4ddce3663ce151423f81c9e2a206df3081d1071.zip gcc-b4ddce3663ce151423f81c9e2a206df3081d1071.tar.gz gcc-b4ddce3663ce151423f81c9e2a206df3081d1071.tar.bz2 |
Revert accidental commit
From-SVN: r255746
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 0012aa7..5ab1fb7 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -6418,21 +6418,6 @@ need_atomic_barrier_p (enum memmodel model, bool pre) } } -/* Return a constant shift amount for shifting a value of mode MODE - by VALUE bits. */ - -rtx -gen_int_shift_amount (machine_mode, HOST_WIDE_INT value) -{ - /* Try to use a 64-bit mode, to avoid any truncation, but honor - MAX_FIXED_MODE_SIZE if that's smaller. - - ??? Perhaps this should be automatically derived from the .md files - instead, or perhaps have a target hook. */ - scalar_int_mode shift_mode = int_mode_for_size (64, 1).require (); - return gen_int_mode (value, shift_mode); -} - /* Initialize fields of rtl_data related to stack alignment. */ void |