llvm-project
c989283c - [Clang] Change masked load / store builtin interface to take scalar pointer (#156063)

Commit
128 days ago
[Clang] Change masked load / store builtin interface to take scalar pointer (#156063) Summary: Right now these enformce alignment, which isn't convenient for the user on platforms that support unaligned accesses. The options are to either permit passing the alignment manually, or just assume it's unaligned unless the user specifies it. I've added https://github.com/llvm/llvm-project/pull/156057 which should make the requiested alignment show up on the intrinsic if the user passed `__builtin_assume_aligned`, however that's only with optimizations. This shouldn't cause issues unless the backend categorically decides to reject an unaligned access.
Author
Parents
Loading