Skip to content

Commit

Permalink
[SYCL][ESIMD] Fix LIT test in sycl-web (#15206)
Browse files Browse the repository at this point in the history
Just a reordering of args

Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
  • Loading branch information
sarnex committed Aug 28, 2024
1 parent 41c2ba2 commit 0528965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/test/esimd/sycl_half_basic_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SYCL_EXTERNAL auto test_binary_op2(simd<sycl::half, 8> val1, simd<long long, 8>
// CHECK: <8 x i64> %[[VAL2_VEC:[a-zA-Z0-9_\.]+]]{{.*}} {
return val1 + val2;
// CHECK: %[[CONV:[a-zA-Z0-9_\.]+]] = sitofp <8 x i64> %[[VAL2_VEC]] to <8 x half>
// CHECK-NEXT: %[[RES:[a-zA-Z0-9_\.]+]] = fadd <8 x half> %[[CONV]], %[[VAL1_VEC]]
// CHECK-NEXT: %[[RES:[a-zA-Z0-9_\.]+]] = fadd <8 x half> %[[VAL1_VEC]], %[[CONV]]
// CHECK-NEXT: ret <8 x half> %[[RES]]
// CHECK-LABEL: }
}
Expand All @@ -55,7 +55,7 @@ SYCL_EXTERNAL auto test_cmp_op(simd<sycl::half, 8> val1, simd<long long, 8> val2
// CHECK: <8 x i64> %[[VAL2_VEC:[a-zA-Z0-9_\.]+]]{{.*}} {
return val1 < val2;
// CHECK: %[[CONV:[a-zA-Z0-9_\.]+]] = sitofp <8 x i64> %[[VAL2_VEC]] to <8 x half>
// CHECK-NEXT: %[[CMP:[a-zA-Z0-9_\.]+]] = fcmp ogt <8 x half> %[[CONV]], %[[VAL1_VEC]]
// CHECK-NEXT: %[[CMP:[a-zA-Z0-9_\.]+]] = fcmp olt <8 x half> %[[VAL1_VEC]], %[[CONV]]
// CHECK-NEXT: %[[RES:[a-zA-Z0-9_\.]+]] = zext <8 x i1> %[[CMP]] to <8 x i16>
// CHECK-NEXT: ret <8 x i16>{{.*}}%[[RES]]
// CHECK-LABEL: }
Expand Down

0 comments on commit 0528965

Please sign in to comment.