[PATCH] D84962: [PowerPC] Correct cpsgn's behaviour on PowerPC to match that of the ABI

Baptiste Saleil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 11:37:31 PDT 2020


bsaleil added inline comments.


================
Comment at: clang/test/CodeGen/builtins-ppc-vsx.c:1840
+// CHECK: %6 = call <4 x float> @llvm.copysign.v4f32(<4 x float> %5, <4 x float> %4) 
+  vec_cpsgn(a, b);
+}
----------------
Could you also add a call to `__builtin_vsx_xvcpsgnsp` and the same tests for vector double, so with calls to `__builtin_vsx_xvcpsgndp` and `vec_cpsgn` with `vector double` arguments ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84962/new/

https://reviews.llvm.org/D84962



More information about the llvm-commits mailing list