[clang] [llvm] [AMDGPU] Add `nocreateundeforpoison` annotations (PR #166450)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 11:03:26 PST 2025
================
@@ -398,40 +398,39 @@ def int_amdgcn_div_scale : DefaultAttrsIntrinsic<
// (0 = Denominator, 1 = Numerator).
[llvm_anyfloat_ty, llvm_i1_ty],
[LLVMMatchType<0>, LLVMMatchType<0>, llvm_i1_ty],
- [IntrNoMem, IntrSpeculatable, ImmArg<ArgIndex<2>>]
+ [IntrNoMem, IntrSpeculatable, IntrNoCreateUndefOrPoison, ImmArg<ArgIndex<2>>]
>;
+// Floating-point arithmetic intrinsics (and integer conversions) not handled
+// elsewhere.
+let IntrProperties = [IntrNoMem, IntrSpeculatable, IntrNoCreateUndefOrPoison] in {
----------------
krzysz00 wrote:
Fixed
https://github.com/llvm/llvm-project/pull/166450
More information about the llvm-commits
mailing list