Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/lit-tests/2628.ispc
2025-05-18 13:04:45 +08:00

10 lines
244 B
Plaintext

// RUN: %{ispc} --target=host --nostdlib --nowrap --emit-llvm-text -o - %s 2>&1 | FileCheck %s
// CHECK: extractvalue [2 x <[[#]] x float>]
// CHECK: fneg <[[#]] x float>
typedef float<2> float2;
float2 TestFunc(float2 x) {
return -x;
}