]> granicus.if.org Git - clang/commitdiff
Add the missing return statements from revision 241399.
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sun, 5 Jul 2015 10:54:10 +0000 (10:54 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Sun, 5 Jul 2015 10:54:10 +0000 (10:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241405 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/altivec.h

index 61ad32054db23e6931dba893ac4970cf31d12847..37e695f045c28a6ab384d7c99c4ea6c6b51db0e4 100644 (file)
@@ -3712,14 +3712,15 @@ static void __ATTRS_o_ai vec_mtvscr(vector float __a) {
 }
 
 /* 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