Skip to content

Commit d7acc6e

Browse files
[InlineAsm] fix msvc warning
Link: #65649 (comment)
1 parent 232ab04 commit d7acc6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/IR/InlineAsm.h

+1
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ class InlineAsm final : public Value {
344344
case Kind::Func:
345345
return "mem";
346346
}
347+
llvm_unreachable("impossible kind");
347348
}
348349

349350
/// getNumOperandRegisters - Extract the number of registers field from the

0 commit comments

Comments
 (0)