aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.cc
diff options
context:
space:
mode:
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>2023-07-20 16:06:29 +0800
committerPan Li <pan2.li@intel.com>2023-07-20 21:53:49 +0800
commitb6b72562d116bd0a589dce39437f9d2b3c34491f (patch)
tree301629a76ac6601b11e3c6f10c7ee1b0c04d88f0 /gcc/combine.cc
parentef28aadad6e5cff3d7494f3c97d435a6579a2e2d (diff)
downloadgcc-b6b72562d116bd0a589dce39437f9d2b3c34491f.zip
gcc-b6b72562d116bd0a589dce39437f9d2b3c34491f.tar.gz
gcc-b6b72562d116bd0a589dce39437f9d2b3c34491f.tar.bz2
CODE STRUCTURE: Refine codes in Vectorizer
Hi, Richard and Richi. I plan to refine the codes that I recently support for RVV auto-vectorization. This patch is inspired last review comments from Richard: https://patchwork.sourceware.org/project/gcc/patch/20230712042124.111818-1-juzhe.zhong@rivai.ai/ Richard said he prefer the the code structure as follows: Please instead switch the if condition so that the structure is: if (...) vect_record_loop_mask (...) else if (...) vect_record_loop_len (...) else can't use partial vectors This is his last comments. So, I come back to refine this piece of codes. Does it look reasonable ? This next refine patch is change all names of "LEN_MASK" into "MASK_LEN" but should come after this patch. gcc/ChangeLog: * tree-vect-stmts.cc (check_load_store_for_partial_vectors): Refine code structure.
Diffstat (limited to 'gcc/combine.cc')
0 files changed, 0 insertions, 0 deletions