aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions-obj-test.ll
blob: 02a4c2090499a831d723925ebeec4da74fbc8743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s

target triple = "dxil-pc-shadermodel6.7-library"
define double @div(double %a, double %b) #0 {
  %res = fdiv double %a, %b
  ret double %res
}

attributes #0 = { convergent norecurse nounwind "hlsl.export"}

; CHECK: - Name:            SFI0
; CHECK-NEXT:     Size:            8
; CHECK-NEXT:     Flags:
; CHECK:       Doubles:         true
; CHECK:       DX11_1_DoubleExtensions:         true