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; } + return SPIRV::MemorySemantics::None; } MachineInstr *getDefInstrMaybeConstant(Register &ConstReg,