diff options
author | Ju-Zhe Zhong <juzhe.zhong@rivai.ai> | 2023-06-23 21:56:35 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-06-25 09:30:27 +0800 |
commit | a1e913ac30e73368eb33520c16dac7e87e61837e (patch) | |
tree | 60f2696cbf549eb1fcc5dbd23f0f14550ff5e76a /gcc | |
parent | f9ab5d62c94547499de52c800ab914cc8e802212 (diff) | |
download | gcc-a1e913ac30e73368eb33520c16dac7e87e61837e.zip gcc-a1e913ac30e73368eb33520c16dac7e87e61837e.tar.gz gcc-a1e913ac30e73368eb33520c16dac7e87e61837e.tar.bz2 |
SSA ALIAS: Apply LEN_MASK_{LOAD, STORE} into SSA alias analysis
gcc/ChangeLog:
* tree-ssa-alias.cc (ref_maybe_used_by_call_p_1): Apply
LEN_MASK_{LOAD,STORE}
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree-ssa-alias.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.cc b/gcc/tree-ssa-alias.cc index e1bc04b8..92dc1bb 100644 --- a/gcc/tree-ssa-alias.cc +++ b/gcc/tree-ssa-alias.cc @@ -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; |