]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
IVOPTS: Add LEN_MASK_{LOAD, STORE} into 'get_alias_ptr_type_for_ptr_address'
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>
Fri, 23 Jun 2023 14:21:03 +0000 (22:21 +0800)
committerPan Li <pan2.li@intel.com>
Sat, 24 Jun 2023 06:08:03 +0000 (14:08 +0800)
gcc/ChangeLog:

* tree-ssa-loop-ivopts.cc (get_alias_ptr_type_for_ptr_address):
Add LEN_MASK_{LOAD,STORE}.

gcc/tree-ssa-loop-ivopts.cc

index 6671ff6db5ac339d1b264ba6f7e303264c63795d..573182247a75628f3ae614db835bf216a9e1a45b 100644 (file)
@@ -7559,6 +7559,8 @@ get_alias_ptr_type_for_ptr_address (iv_use *use)
     case IFN_MASK_STORE_LANES:
     case IFN_LEN_LOAD:
     case IFN_LEN_STORE:
+    case IFN_LEN_MASK_LOAD:
+    case IFN_LEN_MASK_STORE:
       /* The second argument contains the correct alias type.  */
       gcc_assert (use->op_p = gimple_call_arg_ptr (call, 0));
       return TREE_TYPE (gimple_call_arg (call, 1));