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 define float @fma(float %0, float %1, float %2) #0 {
13 ; CHECK: Function Attrs: readnone
14 define float @fma2(float %0, float %1, float %2) #1 {
15 %4 = fmul float %0, %1
16 %5 = fadd float %4, %2
20 ; CHECK: attributes #0 = { nounwind readnone "fp32-denorm-mode"="any" "waveops-include-helper-lanes" }
21 attributes #0 = { norecurse nounwind readnone willreturn "disable-tail-calls"="false" "waveops-include-helper-lanes" "fp32-denorm-mode"="any" "hlsl.export" }
23 ; CHECK: attributes #1 = { readnone "fp32-denorm-mode"="ftz" "waveops-include-helper-lanes" }
24 attributes #1 = { norecurse memory(none) willreturn "disable-tail-calls"="false" "waveops-include-helper-lanes" "fp32-denorm-mode"="ftz" "hlsl.export" }