[llvm] [SPIRV] Implement log10 for logical SPIR-V (PR #66921)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 03:09:14 PDT 2023


================
@@ -0,0 +1,42 @@
+; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
+
+; CHECK: OpExtInstImport "GLSL.std.450"
+
+; CHECK: %[[#float:]] = OpTypeFloat 32
----------------
Keenuts wrote:

Shall this test also validate other float sizes? Making sure we don't use the wrong type somewhere? (at least doubles?)

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


More information about the llvm-commits mailing list