[llvm] [GISel] Use GISelValueTracking in isKnownNeverNaN (PR #190542)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 07:34:49 PDT 2026
================
@@ -341,11 +341,12 @@ isKnownToBeAPowerOfTwo(Register Val, const MachineRegisterInfo &MRI,
/// Returns true if \p Val can be assumed to never be a NaN. If \p SNaN is true,
/// this returns if \p Val can be assumed to never be a signaling NaN.
LLVM_ABI bool isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI,
- bool SNaN = false);
+ GISelValueTracking *VT, bool SNaN = false);
----------------
arsenm wrote:
But I don't see how that's related, these naturally belong as ValueTracking methods alongside KnownBits
https://github.com/llvm/llvm-project/pull/190542
More information about the llvm-commits
mailing list