[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn_exp2 in computeKnownFPClass (PR #172495)
Jay Foad via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Dec 17 04:58:40 PST 2025
================
@@ -5374,7 +5374,8 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts,
}
case Intrinsic::exp:
case Intrinsic::exp2:
- case Intrinsic::exp10: {
+ case Intrinsic::exp10:
+ case Intrinsic::amdgcn_exp2: {
Known.knownNot(fcNegative);
if ((InterestedClasses & fcNan) == fcNone)
----------------
jayfoad wrote:
```suggestion
if ((InterestedClasses & (fcNan | fcSubnormal)) == fcNone)
```
https://github.com/llvm/llvm-project/pull/172495
More information about the llvm-branch-commits
mailing list