Skip to content

Commit 178f72b

Browse files
committed
--Added support for the extension SPV_KHR_relaxed_extended_instruction
--Modified the SPIRVEmitNonSemanticDI.cpp file for forward referencing --Modified the test files to reflect the changes made in SPIRVEmitNonSemanticDI.cpp.
1 parent 92e9387 commit 178f72b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ void SPIRVInstPrinter::printInst(const MCInst *MI, uint64_t Address,
110110
printOpDecorate(MI, OS);
111111
} else if (OpCode == SPIRV::OpExtInstImport) {
112112
recordOpExtInstImport(MI);
113-
} else if (OpCode == SPIRV::OpExtInst || OpCode == SPIRV::OpExtInstWithForwardRefsKHR) {
113+
} else if (OpCode == SPIRV::OpExtInst ||
114+
OpCode == SPIRV::OpExtInstWithForwardRefsKHR) {
114115
printOpExtInst(MI, OS);
115116
} else if (OpCode == SPIRV::UNKNOWN_type) {
116117
printUnknownType(MI, OS);

0 commit comments

Comments
 (0)