We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28903cb commit 6ef33aeCopy full SHA for 6ef33ae
mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h
@@ -37,15 +37,16 @@ enum class InstructionKind {
37
// @TODO: Add more instructions as needed
38
};
39
40
-llvm::StringRef toString(InstructionKind name) {
+static llvm::StringRef toString(InstructionKind name) {
41
switch (name) {
42
case InstructionKind::DPAS:
43
return "dpas";
44
}
45
llvm_unreachable("Unknown InstructionKind");
46
47
48
-std::optional<InstructionKind> parseInstructionKind(llvm::StringRef str) {
+static std::optional<InstructionKind>
49
+parseInstructionKind(llvm::StringRef str) {
50
if (str.equals_insensitive("dpas"))
51
return InstructionKind::DPAS;
52
return std::nullopt;
0 commit comments