File tree 1 file changed +8
-2
lines changed
clang/test/CodeGen/PowerPC
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -853,10 +853,16 @@ vector unsigned char test73(void) {
853
853
vector unsigned short test74 (void ) {
854
854
// CHECK-BE: @llvm.ppc.vsx.xvcvsphp(<4 x float>
855
855
// CHECK-BE: @llvm.ppc.vsx.xvcvsphp(<4 x float>
856
- // CHECK-BE: @llvm.ppc.altivec.vperm
856
+ // CHECK-BE: [[REG0:%[0-9]+]] = call <4 x i32> @llvm.ppc.altivec.vperm
857
+ // CHECK-BE-NEXT: [[REG1:%[0-9]+]] = bitcast <4 x i32> [[REG0]] to <4 x float>
858
+ // CHECK-BE-NEXT: [[REG2:%[0-9]+]] = bitcast <4 x float> [[REG1]] to <8 x i16>
859
+ // CHECK-BE-NEXT: ret <8 x i16> [[REG2]]
857
860
// CHECK: @llvm.ppc.vsx.xvcvsphp(<4 x float>
858
861
// CHECK: @llvm.ppc.vsx.xvcvsphp(<4 x float>
859
- // CHECK: @llvm.ppc.altivec.vperm
862
+ // CHECK: [[REG0:%[0-9]+]] = call <4 x i32> @llvm.ppc.altivec.vperm
863
+ // CHECK-NEXT: [[REG1:%[0-9]+]] = bitcast <4 x i32> [[REG0]] to <4 x float>
864
+ // CHECK-NEXT: [[REG2:%[0-9]+]] = bitcast <4 x float> [[REG1]] to <8 x i16>
865
+ // CHECK-NEXT: ret <8 x i16> [[REG2]]
860
866
return vec_pack_to_short_fp32 (vfa , vfb );
861
867
}
862
868
vector unsigned int test75 (void ) {
You can’t perform that action at this time.
0 commit comments