]> git.ipfire.org Git - thirdparty/gcc.git/commit
[AArch64] Fix TBAA information when lowering NEON loads and stores to gimple
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 10 Nov 2021 09:52:49 +0000 (09:52 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 10 Nov 2021 09:52:49 +0000 (09:52 +0000)
commit0f68560161deb000149a59931dfe5bca60af92d8
tree083446c0111171e3fdc88d71538b7507496da336
parent02fb5732ff57c43f21ae95d5d01d6da70ca867e4
[AArch64] Fix TBAA information when lowering NEON loads and stores to gimple

This patch fixes the wrong TBAA information when lowering NEON loads and stores
to gimple that showed up when bootstrapping with UBSAN.

gcc/ChangeLog:

* config/aarch64/aarch64-builtins.c
(aarch64_general_gimple_fold_builtin): Change pointer alignment and
alias.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/simd/lowering_tbaa.c: New test.
gcc/config/aarch64/aarch64-builtins.c
gcc/testsuite/gcc.target/aarch64/simd/lowering_tbaa.c [new file with mode: 0644]