aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang
diff options
context:
space:
mode:
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>2023-06-26 15:43:42 +0800
committerPan Li <pan2.li@intel.com>2023-06-26 22:07:22 +0800
commit38ead98b2fe49b1fef4ae7c9771af48be7adaa10 (patch)
treea3b0a30c7301157427993906f5efe3018667b96e /libjava/testsuite/libjava.lang
parentf0deeefebb661a1e6560e10bdb19c142792ef9c1 (diff)
downloadgcc-38ead98b2fe49b1fef4ae7c9771af48be7adaa10.zip
gcc-38ead98b2fe49b1fef4ae7c9771af48be7adaa10.tar.gz
gcc-38ead98b2fe49b1fef4ae7c9771af48be7adaa10.tar.bz2
DSE: Add LEN_MASK_STORE analysis into DSE and fix LEN_STORE
Hi, Richi. This patch is adding LEN_MASK_STORE into DSE. My understanding is LEN_MASK_STORE is predicated by mask and len. No matter len is constant or not, the ao_ref should be the same as MASK_STORE. Wheras for LEN_STORE, when len is constant, we use (len - bias), otherwise, it's the same as MASK_STORE/LEN_MASK_STORE. Not sure whether I am on the same page with you, feel free to correct me. Thanks. gcc/ChangeLog: * tree-ssa-dse.cc (initialize_ao_ref_for_dse): Add LEN_MASK_STORE and fix LEN_STORE. (dse_optimize_stmt): Add LEN_MASK_STORE.
Diffstat (limited to 'libjava/testsuite/libjava.lang')
0 files changed, 0 insertions, 0 deletions