[llvm] [SPIRV] Lower load/store atomic to OpAtomicLoad/OpAtomicStore (PR #185696)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 01:28:06 PDT 2026


Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?=
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/185696 at github.com>


================
@@ -51,6 +51,10 @@ class SPIRVTypeInst {
   // Returns true if this is an OpTypeInt instruction.
   // If N is non-zero, also checks that the bit width matches N.
   bool isTypeIntN(unsigned N = 0) const;
+  // Returns true if this is an OpTypeFloat instruction.
+  bool isAnyTypeFloat() const;
----------------
aobolensk wrote:

I don't really understand why it is called **Any**TypeFloat

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


More information about the llvm-commits mailing list