diff options
author | Kugan Vivekanandarajah <kuganv@linaro.org> | 2016-08-20 01:18:09 +0000 |
---|---|---|
committer | Kugan Vivekanandarajah <kugan@gcc.gnu.org> | 2016-08-20 01:18:09 +0000 |
commit | 22d12455eaf2e4c64ef8c778358087d999d2ccd8 (patch) | |
tree | 59b27eaa3e0d776ac20ff1224817253d94a968b0 /libmpx/mpxrt | |
parent | 151d752b9eedbe2648cf02c4f330adeabf22237d (diff) | |
download | gcc-22d12455eaf2e4c64ef8c778358087d999d2ccd8.zip gcc-22d12455eaf2e4c64ef8c778358087d999d2ccd8.tar.gz gcc-22d12455eaf2e4c64ef8c778358087d999d2ccd8.tar.bz2 |
re PR tree-optimization/61839 (More optimize opportunity for VRP)
gcc/testsuite/ChangeLog:
2016-08-20 Kugan Vivekanandarajah <kuganv@linaro.org>
PR tree-optimization/61839
* gcc.dg/tree-ssa/pr61839_1.c: New test.
* gcc.dg/tree-ssa/pr61839_2.c: New test.
* gcc.dg/tree-ssa/pr61839_3.c: New test.
* gcc.dg/tree-ssa/pr61839_4.c: New test.
gcc/ChangeLog:
2016-08-20 Kugan Vivekanandarajah <kuganv@linaro.org>
PR tree-optimization/61839
* tree-vrp.c (two_valued_val_range_p): New.
(simplify_stmt_using_ranges): Convert CST BINOP VAR where VAR is
two-valued to VAR == VAL1 ? (CST BINOP VAL1) : (CST BINOP VAL2).
Also Convert VAR BINOP CST where VAR is two-valued to
VAR == VAL1 ? (VAL1 BINOP CST) : (VAL2 BINOP CST).
From-SVN: r239637
Diffstat (limited to 'libmpx/mpxrt')
0 files changed, 0 insertions, 0 deletions