1 ; RUN: llc %s --filetype=obj -o - | dxil-dis -o - | FileCheck %s
3 ; CHECK: target triple = "dxil-ms-dx"
4 target triple = "dxil-unknown-shadermodel6.7-library"
6 ; CHECK: Function Attrs: nounwind readnone
7 ; Function Attrs: norecurse nounwind readnone willreturn
8 define float @fma(float %0, float %1, float %2) #0 {
10 %5 = fadd float %4, %2
14 ; CHECK: Function Attrs: readnone
15 ; Function Attrs: norecurse readnone willreturn
16 define float @fma2(float %0, float %1, float %2) #1 {
17 %4 = fmul float %0, %1
18 %5 = fadd float %4, %2
22 ; CHECK: attributes #0 = { nounwind readnone "disable-tail-calls"="false" }
23 attributes #0 = { norecurse nounwind readnone willreturn "disable-tail-calls"="false" }
25 ; CHECK: attributes #1 = { readnone "disable-tail-calls"="false" }
26 attributes #1 = { norecurse memory(none) willreturn "disable-tail-calls"="false" }