[llvm] [SPIRV] Fix buildbot failure after #149522 (PR #152135)

Marcos Maronas via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 06:29:06 PDT 2025


https://github.com/maarquitos14 created https://github.com/llvm/llvm-project/pull/152135

None

>From cc46a227527495dd4f6c3ad76976a4294f86e277 Mon Sep 17 00:00:00 2001
From: Marcos Maronas <marcos.maronas at intel.com>
Date: Tue, 5 Aug 2025 15:28:28 +0200
Subject: [PATCH] Fix buildbot failure after #149522

---
 llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
index 000e2d7105c8d..ab06fc0b5ff31 100644
--- a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
@@ -1874,6 +1874,7 @@ void addInstrRequirements(const MachineInstr &MI,
   case SPIRV::OpCopyMemorySized: {
     Reqs.addCapability(SPIRV::Capability::Addresses);
     // TODO: Add UntypedPointersKHR when implemented.
+    break;
   }
 
   default:



More information about the llvm-commits mailing list