diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-28 15:28:04 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-28 15:28:04 +0000 |
commit | 209f026e8413edd71da17dec1c28c26e9fc215ea (patch) | |
tree | 5e79c3ed74f786f7e55a341ccba2dc4d2943cd36 /gcc/gimple-match-head.c | |
parent | d63986a93b96b9ccb7aa1ca2e91c4192f6b41ba6 (diff) | |
download | gcc-209f026e8413edd71da17dec1c28c26e9fc215ea.tar.gz |
2015-10-28 Richard Biener <rguenther@suse.de>
* gimple-match-head.c (gimple_simplify): Allow VECTOR_CSTs
in simplifying VEC_COND_EXPR conditions.
* gcc.dg/tree-ssa/operand-equal-2.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-match-head.c')
-rw-r--r-- | gcc/gimple-match-head.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gimple-match-head.c b/gcc/gimple-match-head.c index 75f478cc6f5..6c26f79e7d6 100644 --- a/gcc/gimple-match-head.c +++ b/gcc/gimple-match-head.c @@ -708,7 +708,8 @@ gimple_simplify (gimple *stmt, rhs1 = build2 (rcode2, TREE_TYPE (rhs1), ops2[0], ops2[1]); else if (rcode2 == SSA_NAME - || rcode2 == INTEGER_CST) + || rcode2 == INTEGER_CST + || rcode2 == VECTOR_CST) rhs1 = ops2[0]; else valueized = false; |