r241405 - Add the missing return statements from revision 241399.

Nemanja Ivanovic nemanja.i.ibm at gmail.com
Sun Jul 5 03:54:10 PDT 2015


Author: nemanjai
Date: Sun Jul  5 05:54:10 2015
New Revision: 241405

URL: http://llvm.org/viewvc/llvm-project?rev=241405&view=rev
Log:
Add the missing return statements from revision 241399.


Modified:
    cfe/trunk/lib/Headers/altivec.h

Modified: cfe/trunk/lib/Headers/altivec.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/altivec.h?rev=241405&r1=241404&r2=241405&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/altivec.h (original)
+++ cfe/trunk/lib/Headers/altivec.h Sun Jul  5 05:54:10 2015
@@ -3712,14 +3712,15 @@ static void __ATTRS_o_ai vec_mtvscr(vect
 }
 
 /* vec_mul */
+
 static vector float __ATTRS_o_ai vec_mul(vector float __a, vector float __b) {
-  __a * __b;
+  return __a * __b;
 }
 
 #ifdef __VSX__
 static vector double __ATTRS_o_ai
 vec_mul(vector double __a, vector double __b) {
-  __a * __b;
+  return __a * __b;
 }
 #endif
 





More information about the cfe-commits mailing list