[all-commits] [llvm/llvm-project] f71e4e: [InstSimplify] Handle nsz when simplifying X * 0.0...
Nadharm via All-commits
all-commits at lists.llvm.org
Fri May 30 22:50:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f71e4e9bc2b6cd1444ab2a395a1ce20d486362de
https://github.com/llvm/llvm-project/commit/f71e4e9bc2b6cd1444ab2a395a1ce20d486362de
Author: Nadharm <ndhiantravan at nvidia.com>
Date: 2025-05-31 (Sat, 31 May 2025)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
Log Message:
-----------
[InstSimplify] Handle nsz when simplifying X * 0.0 (#142181)
If ValueTracking can guarantee non-NaN and non-INF and the `nsz`
fast-math flag is set, we can simplify X * 0.0 ==> 0.0.
https://alive2.llvm.org/ce/z/XacRQZ
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list