[llvm] d7acc6e - [InlineAsm] fix msvc warning
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 11:25:14 PDT 2023
Author: Nick Desaulniers
Date: 2023-09-11T11:25:05-07:00
New Revision: d7acc6e23f69a22969a9139d6a91e022280c2c37
URL: https://github.com/llvm/llvm-project/commit/d7acc6e23f69a22969a9139d6a91e022280c2c37
DIFF: https://github.com/llvm/llvm-project/commit/d7acc6e23f69a22969a9139d6a91e022280c2c37.diff
LOG: [InlineAsm] fix msvc warning
Link: https://github.com/llvm/llvm-project/pull/65649#issuecomment-1714309236
Added:
Modified:
llvm/include/llvm/IR/InlineAsm.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/InlineAsm.h b/llvm/include/llvm/IR/InlineAsm.h
index c1bf767f7c29177..f73666fa8dc08e7 100644
--- a/llvm/include/llvm/IR/InlineAsm.h
+++ b/llvm/include/llvm/IR/InlineAsm.h
@@ -344,6 +344,7 @@ class InlineAsm final : public Value {
case Kind::Func:
return "mem";
}
+ llvm_unreachable("impossible kind");
}
/// getNumOperandRegisters - Extract the number of registers field from the
More information about the llvm-commits
mailing list