diff options
author | Anatoly Sokolov <aesok@post.ru> | 2015-07-31 00:25:29 +0300 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2015-07-31 00:25:29 +0300 |
commit | 3403a1a9597dd6f853c25aff2290a16d3a9c9d00 (patch) | |
tree | 7d30b2fde4a0cf5ac3d5774d1ff65ab67f3ba134 /gcc/combine.c | |
parent | e8fa381741bd504e42221463d18d0dae9eae4832 (diff) | |
download | gcc-3403a1a9597dd6f853c25aff2290a16d3a9c9d00.zip gcc-3403a1a9597dd6f853c25aff2290a16d3a9c9d00.tar.gz gcc-3403a1a9597dd6f853c25aff2290a16d3a9c9d00.tar.bz2 |
Use lowpart_subreg instead of simplify_gen_subreg
From-SVN: r226417
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 e47cbc4..4a92f55 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; } |