diff options
author | Ju-Zhe Zhong <juzhe.zhong@rivai.ai> | 2023-06-21 19:33:38 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-06-21 20:29:10 +0800 |
commit | 4b23d10ce8c7015c19e911324602633c36a2b828 (patch) | |
tree | c83212e1503b381a4fad7a29cfd528bf278235f1 /gcc/tree-if-conv.cc | |
parent | b54d0f29590d21991f519c5b70cc74e6309aa2f6 (diff) | |
download | gcc-4b23d10ce8c7015c19e911324602633c36a2b828.zip gcc-4b23d10ce8c7015c19e911324602633c36a2b828.tar.gz gcc-4b23d10ce8c7015c19e911324602633c36a2b828.tar.bz2 |
Move can_vec_mask_load_store_p and get_len_load_store_mode from "optabs-query" into "optabs-tree"
Since we want both can_vec_mask_load_store_p and get_len_load_store_mode
can see "internal_fn", move these 2 functions into optabs-tree.
gcc/ChangeLog:
* optabs-query.cc (can_vec_mask_load_store_p): Move to optabs-tree.cc.
(get_len_load_store_mode): Ditto.
* optabs-query.h (can_vec_mask_load_store_p): Move to optabs-tree.h.
(get_len_load_store_mode): Ditto.
* optabs-tree.cc (can_vec_mask_load_store_p): New function.
(get_len_load_store_mode): Ditto.
* optabs-tree.h (can_vec_mask_load_store_p): Ditto.
(get_len_load_store_mode): Ditto.
* tree-if-conv.cc: include optabs-tree instead of optabs-query
Diffstat (limited to 'gcc/tree-if-conv.cc')
-rw-r--r-- | gcc/tree-if-conv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.cc b/gcc/tree-if-conv.cc index 1393ce1..e342532 100644 --- a/gcc/tree-if-conv.cc +++ b/gcc/tree-if-conv.cc @@ -92,7 +92,7 @@ along with GCC; see the file COPYING3. If not see #include "ssa.h" #include "expmed.h" #include "expr.h" -#include "optabs-query.h" +#include "optabs-tree.h" #include "gimple-pretty-print.h" #include "alias.h" #include "fold-const.h" |