[NFC] legalize triple for dxil tests.
This commit is contained in:
parent
aba150ca23
commit
208d0f04a6
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=asm %s -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
define i64 @test(ptr %p) {
|
||||
store i32 0, ptr %p
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc %s --filetype=asm -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
define float @negateF(float %0) {
|
||||
; CHECK: %2 = fsub float -0.000000e+00, %0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=asm %s -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
define i64 @test(ptr %p) {
|
||||
%v = load i64, ptr %p
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc %s --filetype=asm -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
; CHECK: Function Attrs: nounwind readnone
|
||||
; Function Attrs: norecurse nounwind readnone willreturn
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
; CHECK: ret i32 %Q
|
||||
; CHECK: }
|
||||
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
define i32 @foo(i32 %X, i32 %Y) {
|
||||
%Z = sub i32 %X, %Y
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
; RUN: llc %s --filetype=obj -o - | dxil-dis -o - | FileCheck %s
|
||||
|
||||
; CHECK: target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-unknown"
|
||||
; CHECK: target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
; CHECK: Function Attrs: nounwind readnone
|
||||
; Function Attrs: norecurse nounwind readnone willreturn
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
|
||||
|
||||
; CHECK: define float @fma(float, float, float) unnamed_addr #0 !dbg [[Fn:[!][0-9]+]]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!3, !4}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!3, !4}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
!llvm.used = !{!0}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
!llvm.foo = !{!0}
|
||||
!llvm.bar = !{!1}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
define i32 @fn(ptr %0) {
|
||||
%2 = getelementptr i32, ptr %0, i32 4
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
||||
target triple = "dxil-unknown-unknown"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
define i64 @test(ptr %p) {
|
||||
store i32 0, ptr %p
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; RUN: llc --filetype=obj %s -o - 2>&1 | dxil-dis -o - | FileCheck %s
|
||||
target datalayout = "e-m:e-p:32:32-i1:32-i8:32-i16:32-i32:32-i64:64-f16:32-f32:32-f64:64-n8:16:32:64"
|
||||
target triple = "dxil-ms-dx"
|
||||
target triple = "dxil-unknown-shadermodel6.7-library"
|
||||
|
||||
%"$Globals" = type { float }
|
||||
|
||||
|
|
Loading…
Reference in New Issue