[PATCH] D79721: [Clang][AArch64] Capturing proper pointer alignment for Neon vld1 intrinsicts
Lucas Prates via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 11 09:39:55 PDT 2020
pratlucas created this revision.
Herald added subscribers: cfe-commits, danielkiss, kristof.beyls.
Herald added a project: clang.
pratlucas added reviewers: t.p.northover, ostannard, pcc.
During CodeGen for AArch64 Neon intrinsics, Clang was incorrectly
assuming all the pointers from which loads were being generated for vld1
intrinsics were aligned according to the intrinsics result type, causing
alignment faults on the code generated by the backend.
This patch updates vld1 intrinsics' CodeGen to properly capture the
correct load alignment based on the type of the pointer provided as
input for the intrinsic.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79721
Files:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/aarch64-neon-intrinsics.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79721.263188.patch
Type: text/x-patch
Size: 12492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200511/64488551/attachment.bin>
More information about the cfe-commits
mailing list