[llvm] [AMDGPU] Gate rootn(x, +-2) -> sqrt/rsqrt fold on nsz/ninf (PR #200578)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 09:03:05 PDT 2026


================
@@ -447,6 +443,3 @@ declare <2 x half> @_Z5rootnDv2_DhDv2_i(<2 x half>, <2 x i32>) #0
 attributes #0 = { mustprogress nofree norecurse nounwind willreturn memory(none) }
 attributes #1 = { mustprogress nofree nounwind willreturn memory(none) }
 
-;.
-; CHECK: [[META0]] = !{float 2.000000e+00}
----------------
aobolensk wrote:

Restored

https://github.com/llvm/llvm-project/pull/200578


More information about the llvm-commits mailing list