File tree Expand file tree Collapse file tree 22 files changed +44
-23
lines changed
llvm/test/CodeGen/SPIRV/hlsl-intrinsics Expand file tree Collapse file tree 22 files changed +44
-23
lines changed Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
2
-
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
3
3
; CHECK: OpExtInstImport "GLSL.std.450"
4
4
5
5
define noundef float @ceil_float (float noundef %a ) {
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
; CHECK: OpMemoryModel Logical GLSL450
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: %[[#extinst:]] = OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpMemoryModel Logical GLSL450
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
Original file line number Diff line number Diff line change 1
- ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s
1
+ ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
2
+ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
2
3
3
4
; CHECK: OpExtInstImport "GLSL.std.450"
4
5
You can’t perform that action at this time.
0 commit comments