Joseph Huber 4d7880129b
[InferAlignment] Fix updating alignment when larger than i32 (#160109)
Summary:
The changes made in https://github.com/llvm/llvm-project/pull/156057
allows the alignment value to be increased. We assert effectively
infinite alignment when the pointer argument is invalid / null. The
problem is that for whatever reason the masked load / store functions
use i32 for their alignment value which means this gets truncated to
zero.

Add a special check for this, long term we probably want to just remove
this argument entirely.
2025-09-22 14:24:41 +00:00
..