Skip to content

Commit

Permalink
Make intrinsic.ispc lit test run on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
dbabokin authored and aneshlya committed Oct 30, 2024
1 parent 7ff3672 commit aa81941
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/lit-tests/intrinsic.ispc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// RUN: %{ispc} %s --target=avx2-i32x8 --emit-llvm-text --enable-llvm-intrinsics -o - | FileCheck %s
// RUN: %{ispc} %s --target=host --emit-llvm-text --enable-llvm-intrinsics -o - | FileCheck %s
// CHECK: declare i16 @llvm.convert.to.fp16.f32(float)

// REQUIRES: X86_ENABLED
uniform int16 foo(uniform float arg) {
uniform int16 ret = @llvm.convert.to.fp16.f32(arg);
return ret;
Expand Down

0 comments on commit aa81941

Please sign in to comment.