diff options
author | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-30 21:25:29 +0000 |
---|---|---|
committer | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-30 21:25:29 +0000 |
commit | a8a727ad2906469fcdc91382dcad1426499797be (patch) | |
tree | 7d30b2fde4a0cf5ac3d5774d1ff65ab67f3ba134 /gcc/combine.c | |
parent | e880695cc6c65706bfee51b184444826a6a1e179 (diff) | |
download | gcc-a8a727ad2906469fcdc91382dcad1426499797be.tar.gz |
Use lowpart_subreg instead of simplify_gen_subreg
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226417 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index e47cbc4552b..4a92f55c8a0 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -11194,10 +11194,8 @@ gen_lowpart_for_combine (machine_mode omode, rtx x) include an explicit SUBREG or we may simplify it further in combine. */ else { - int offset = 0; rtx res; - offset = subreg_lowpart_offset (omode, imode); if (imode == VOIDmode) { imode = int_mode_for_mode (omode); @@ -11205,7 +11203,7 @@ gen_lowpart_for_combine (machine_mode omode, rtx x) if (x == NULL) goto fail; } - res = simplify_gen_subreg (omode, x, imode, offset); + res = lowpart_subreg (omode, x, imode); if (res) return res; } |