[compiler-rt] b745ce9 - [builtins] Revert accidental change to PPC implementation in 05a4212cc76d

Alex Richardson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 17:29:31 PDT 2023


Author: Alex Richardson
Date: 2023-10-24T17:28:49-07:00
New Revision: b745ce952560716545e82770bf835e48a567eaf1

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

LOG: [builtins] Revert accidental change to PPC implementation in 05a4212cc76d

This commit was supposed to only change the generic implementation.
Should fix the build bot errors.

Added: 
    

Modified: 
    compiler-rt/lib/builtins/ppc/multc3.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/ppc/multc3.c b/compiler-rt/lib/builtins/ppc/multc3.c
index 93007c855256609..f1fd6816d6c87db 100644
--- a/compiler-rt/lib/builtins/ppc/multc3.c
+++ b/compiler-rt/lib/builtins/ppc/multc3.c
@@ -19,7 +19,8 @@
     }                                                                          \
   }
 
-xf_float _Complex __multc3(xf_float a, xf_float b, xf_float c, xf_float d) {
+long double _Complex __multc3(long double a, long double b, long double c,
+                              long double d) {
   long double ac = __gcc_qmul(a, c);
   long double bd = __gcc_qmul(b, d);
   long double ad = __gcc_qmul(a, d);


        


More information about the llvm-commits mailing list