diff options
author | liuhongt <hongtao.liu@intel.com> | 2021-09-02 13:05:54 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2021-09-16 16:35:29 +0800 |
commit | a26ff83ed07e33c4aa46f3314553c0d15ca21100 (patch) | |
tree | 5f6c5fa4a159fb95184b17896df2a1ada6e72059 /gcc/tree.h | |
parent | a73d59089a9daca7316eeccece13166ad60dbf13 (diff) | |
download | gcc-a26ff83ed07e33c4aa46f3314553c0d15ca21100.zip gcc-a26ff83ed07e33c4aa46f3314553c0d15ca21100.tar.gz gcc-a26ff83ed07e33c4aa46f3314553c0d15ca21100.tar.bz2 |
Check mask type when doing cond_op related gimple simplification.
gcc/ChangeLog:
PR middle-end/102080
* match.pd: Check mask type when doing cond_op related gimple
simplification.
* tree.c (is_truth_type_for): New function.
* tree.h (is_truth_type_for): New declaration.
gcc/testsuite/ChangeLog:
PR middle-end/102080
* gcc.target/i386/pr102080.c: New test.
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4591,6 +4591,7 @@ extern tree build_string_literal (unsigned, const char * = NULL, extern tree signed_or_unsigned_type_for (int, tree); extern tree signed_type_for (tree); extern tree unsigned_type_for (tree); +extern bool is_truth_type_for (tree, tree); extern tree truth_type_for (tree); extern tree build_pointer_type_for_mode (tree, machine_mode, bool); extern tree build_pointer_type (tree); |