r240389 - Silence VC warning C4715: '`anonymous namespace'::getNativeVectorSizeForA VXABI' :

Yaron Keren yaron.keren at gmail.com
Tue Jun 23 02:45:43 PDT 2015


Author: yrnkrn
Date: Tue Jun 23 04:45:42 2015
New Revision: 240389

URL: http://llvm.org/viewvc/llvm-project?rev=240389&view=rev
Log:
Silence VC warning C4715: '`anonymous namespace'::getNativeVectorSizeForA VXABI' :
not all control paths return a value.


Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=240389&r1=240388&r2=240389&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Tue Jun 23 04:45:42 2015
@@ -1408,6 +1408,7 @@ static unsigned getNativeVectorSizeForAV
   case X86AVXABILevel::None:
     return 128;
   }
+  llvm_unreachable("Unknown AVXLevel");
 }
 
 /// X86_64ABIInfo - The X86_64 ABI information.





More information about the cfe-commits mailing list