[llvm] [LangRef] Clarify `align` and `nonnull` interaction with `noundef` in parameter attributes section (PR #224236)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 10:04:38 PDT 2026
=?utf-8?q?Ömer_Sinan_Ağacan?= <omer at osa1.net>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/224236 at github.com>
dtcxzyw wrote:
> Does not say what exactly is undefined when you don't have noundef.
Isn't the sentence above clear enough?
> If the pointer value does not have
the specified alignment, {ref}`poison value <poisonvalues>` is returned or
passed instead.
We first check poison-generating attributes, then check UB-implying attributes (noundef/dereferenceable[_or_null]).
https://github.com/llvm/llvm-project/pull/224236
More information about the llvm-commits
mailing list