]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
SSA ALIAS: Apply LEN_MASK_{LOAD, STORE} into SSA alias analysis
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>
Fri, 23 Jun 2023 13:56:35 +0000 (21:56 +0800)
committerPan Li <pan2.li@intel.com>
Sun, 25 Jun 2023 01:30:27 +0000 (09:30 +0800)
gcc/ChangeLog:

* tree-ssa-alias.cc (ref_maybe_used_by_call_p_1): Apply
LEN_MASK_{LOAD,STORE}

gcc/tree-ssa-alias.cc

index e1bc04b82ba398e9916abeb456d5a69e565c5ca8..92dc1bb9987c067542a0c9691050d661f2577d9e 100644 (file)
@@ -2815,11 +2815,13 @@ ref_maybe_used_by_call_p_1 (gcall *call, ao_ref *ref, bool tbaa_p)
       case IFN_SCATTER_STORE:
       case IFN_MASK_SCATTER_STORE:
       case IFN_LEN_STORE:
+      case IFN_LEN_MASK_STORE:
        return false;
       case IFN_MASK_STORE_LANES:
        goto process_args;
       case IFN_MASK_LOAD:
       case IFN_LEN_LOAD:
+      case IFN_LEN_MASK_LOAD:
       case IFN_MASK_LOAD_LANES:
        {
          ao_ref rhs_ref;