diff options
Diffstat (limited to 'clang/test/CodeGen/builtins-ppc-vsx.c')
-rw-r--r-- | clang/test/CodeGen/builtins-ppc-vsx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/builtins-ppc-vsx.c b/clang/test/CodeGen/builtins-ppc-vsx.c index 9bd0a5df6f2..a5e3e4f441c 100644 --- a/clang/test/CodeGen/builtins-ppc-vsx.c +++ b/clang/test/CodeGen/builtins-ppc-vsx.c @@ -20,6 +20,13 @@ double res_d; void test1() { // CHECK-LABEL: define void @test1 + /* vec_div */ + res_vf = vec_div(vf, vf); +// CHECK: @llvm.ppc.vsx.xvdivsp + + res_vd = vec_div(vd, vd); +// CHECK: @llvm.ppc.vsx.xvdivdp + /* vec_max */ res_vf = vec_max(vf, vf); // CHECK: @llvm.ppc.vsx.xvmaxsp |