[clang] 5bc469f - [RISCV][NFC] Fix build issue

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Mon May 16 01:00:56 PDT 2022


Author: Kito Cheng
Date: 2022-05-16T16:00:23+08:00
New Revision: 5bc469fd96192039bafe4bb9f74c85b37f63212e

URL: https://github.com/llvm/llvm-project/commit/5bc469fd96192039bafe4bb9f74c85b37f63212e
DIFF: https://github.com/llvm/llvm-project/commit/5bc469fd96192039bafe4bb9f74c85b37f63212e.diff

LOG: [RISCV][NFC] Fix build issue

Added: 
    

Modified: 
    clang/lib/Support/RISCVVIntrinsicUtils.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Support/RISCVVIntrinsicUtils.cpp b/clang/lib/Support/RISCVVIntrinsicUtils.cpp
index a0ca7b7c5166..9f5c1ffe2022 100644
--- a/clang/lib/Support/RISCVVIntrinsicUtils.cpp
+++ b/clang/lib/Support/RISCVVIntrinsicUtils.cpp
@@ -788,8 +788,6 @@ void RVVType::applyFixedLog2LMUL(int Log2LMUL, enum FixedLMULType Type) {
       return;
     }
     break;
-  default:
-    llvm_unreachable("Unknown FixedLMULType??");
   }
 
   // Update new LMUL


        


More information about the cfe-commits mailing list