[clang] 45787e5 - Fix compilation warning. NFC.

Michael Liao via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 22:07:19 PDT 2019


Author: Michael Liao
Date: 2019-10-25T01:06:52-04:00
New Revision: 45787e56829f47e45d127882b1cd1821e7022e68

URL: https://github.com/llvm/llvm-project/commit/45787e56829f47e45d127882b1cd1821e7022e68
DIFF: https://github.com/llvm/llvm-project/commit/45787e56829f47e45d127882b1cd1821e7022e68.diff

LOG: Fix compilation warning. NFC.

Added: 
    

Modified: 
    clang/lib/CodeGen/CGBuiltin.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 2caa8509ea06..9a56116173ec 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -6874,6 +6874,7 @@ Value *CodeGenFunction::EmitARMMVEBuiltinExpr(unsigned BuiltinID,
     return ToReturn;
   }
   }
+  llvm_unreachable("unknown custom codegen type.");
 }
 
 static Value *EmitAArch64TblBuiltinExpr(CodeGenFunction &CGF, unsigned BuiltinID,


        


More information about the cfe-commits mailing list