[llvm-branch-commits] [llvm] ValueTracking: Special case fmul by llvm.amdgcn.trig.preop (PR #183373)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 26 07:49:12 PST 2026


================
@@ -4965,6 +4965,13 @@ static constexpr KnownFPClass::MinMaxKind getMinMaxKind(Intrinsic::ID IID) {
   }
 }
 
+/// \return true if this is a floating point value that is known to have a
+/// magnitude smaller than 1. i.e., fabs(X) <=1.0
----------------
arsenm wrote:

```suggestion
/// magnitude smaller than 1. i.e., fabs(X) <= 1.0
```

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


More information about the llvm-branch-commits mailing list