aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ubsan/pointer-counted-by-bounds-2.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-08-01 05:02:18 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-08-03 19:10:09 -0700
commit09f0768b55b96c861811a8989d7c1cc59b4c29b6 (patch)
tree47dc3f25c4f71c174952d1be90271c88360fdc86 /gcc/testsuite/gcc.dg/ubsan/pointer-counted-by-bounds-2.c
parent10075fb355daaebf8ccabb8932c3400b2efd6101 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
x86: Don't hoist non all 0s/1s vector set outside of loopHEADtrunkmaster
Don't hoist non all 0s/1s vector set outside of the loop to avoid extra spills. gcc/ PR target/120941 * config/i386/i386-features.cc (x86_cse_kind): Moved before ix86_place_single_vector_set. (redundant_load): Likewise. (ix86_place_single_vector_set): Replace the last argument to the pointer to redundant_load. For X86_CSE_VEC_DUP, don't place the vector set outside of the loop to avoid extra spills. (remove_redundant_vector_load): Pass load to ix86_place_single_vector_set. gcc/testsuite/ PR target/120941 * gcc.target/i386/pr120941-1.c: New test. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/ubsan/pointer-counted-by-bounds-2.c')
0 files changed, 0 insertions, 0 deletions