[llvm] InstSimplify: Handle nsz in fabs of known positive fold (PR #176923)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 20 07:20:16 PST 2026


================
@@ -204,8 +204,30 @@ define float @square_fma_fabs_intrinsic_f32(float noundef %x) {
 
 ; The fabs cannot be eliminated because %x may be a NaN
----------------
dtcxzyw wrote:

Looks like the comment above is outdated.

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


More information about the llvm-commits mailing list