[llvm] [AMDGPU][GlobalISel] Enable vector reductions (PR #131413)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 15 19:07:24 PDT 2025


================
@@ -343,6 +343,8 @@ inline bool isKnownNeverSNaN(Register Val, const MachineRegisterInfo &MRI) {
   return isKnownNeverNaN(Val, MRI, true);
 }
 
+bool isKnownNeverZeroFloat(Register Val, const MachineRegisterInfo &MRI);
----------------
arsenm wrote:

For this, I was planning on renaming GISelKnownBits to GISelValueTracking, and just start with the generalized computeKnownFPClass. The DAG has much weaker versions of all of these functions, we're better off copying the IR pattern 

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


More information about the llvm-commits mailing list