bolt/deps/llvm-18.1.8/llvm/test/CodeGen/DirectX/ShaderFlags/no_flags.ll

10 lines
238 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: opt -S --passes="print-dx-shader-flags" 2>&1 %s | FileCheck %s
target triple = "dxil-pc-shadermodel6.7-library"
; CHECK: ; Shader Flags Value: 0x00000000
define i32 @add(i32 %a, i32 %b) {
%sum = add i32 %a, %b
ret i32 %sum
}