[llvm] [GlobalISel] convergence control tokens and intrinsics (PR #67006)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 22:27:06 PDT 2024


================
@@ -2036,6 +2037,37 @@ bool IRTranslator::translateIfEntryValueArgument(bool isDeclare, Value *Val,
   return true;
 }
 
+static unsigned getConvOpcode(Intrinsic::ID ID) {
+  switch (ID) {
+  default:
+    llvm_unreachable("Unexpected intrinsic");
+    return 0;
----------------
arsenm wrote:

No dead return 

https://github.com/llvm/llvm-project/pull/67006


More information about the llvm-commits mailing list