[PATCH] D142937: [SPIRV][NFC] fix build warning in SPIRVUtils.cpp
Ilia Diachkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 14:18:23 PST 2023
iliya-diyachkov updated this revision to Diff 493419.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142937/new/
https://reviews.llvm.org/D142937
Files:
llvm/lib/Target/SPIRV/SPIRVUtils.cpp
Index: llvm/lib/Target/SPIRV/SPIRVUtils.cpp
===================================================================
--- llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+++ llvm/lib/Target/SPIRV/SPIRVUtils.cpp
@@ -208,6 +208,7 @@
case AtomicOrdering::NotAtomic:
return SPIRV::MemorySemantics::None;
}
+ llvm_unreachable(nullptr);
}
MachineInstr *getDefInstrMaybeConstant(Register &ConstReg,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142937.493419.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230130/319c87a1/attachment.bin>
More information about the llvm-commits
mailing list