[Mlir-commits] [mlir] [mlir] add some FP classification ops and their lowering to libdevice (PR #127322)

William Moses llvmlistbot at llvm.org
Sat Feb 15 06:09:05 PST 2025


================
@@ -1058,3 +1058,29 @@ gpu.module @test_module_53 {
     func.return %result32, %result64 : f32, f64
   }
 }
+
+gpu.module @test_module_54 {
+  // CHECK: llvm.func @__nv_isinff(f32) -> i1
----------------
wsmoses wrote:

Presumably we'd emit two ops in this case the call to libdevice then a zero comparison 

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


More information about the Mlir-commits mailing list