1 ; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
3 ; RUN: llc --filetype=obj %s --stop-after=dxil-write-bitcode -o %t && llvm-bcanalyzer --dump-blockinfo %t | FileCheck %s --check-prefix=BLOCK_INFO
5 ; CHECK: define i32 @foo(i32 %X, i32 %Y) {
6 ; CHECK: %Z = sub i32 %X, %Y
7 ; CHECK: %Q = add i32 %Z, %Y
11 ; BLOCK_INFO:Stream type: LLVM IR
12 ; Make sure uselist strtab and symtab is not in dxil.
13 ; BLOCK_INFO-NOT:USELIST_BLOCK_ID
14 ; BLOCK_INFO-NOT:STRTAB_BLOCK
15 ; BLOCK_INFO-NOT:SYMTAB_BLOCK
18 target triple = "dxil-unknown-shadermodel6.7-library"
20 define i32 @foo(i32 %X, i32 %Y) "hlsl.export" {