================ @@ -1,4 +1,13 @@ ; RUN: opt -S -passes=dxil-op-lower,dxil-translate-metadata %s | FileCheck %s +; RUN: opt -S -passes=dxil-pretty-printer %s 2>&1 >/dev/null | FileCheck --check-prefix=CHECK-PRETTY %s + +; CHECK-PRETTY: Type Format Dim ID HLSL Bind Count +; CHECK-PRETTY: ---------- ------- ----------- ------- -------------- --------- +; CHECK-PRETTY: UAV f32 buf U0 u5,space3 1 +; CHECK-PRETTY: UAV i32 buf U1 u7,space2 1 +; CHECK-PRETTY: SRV u32 buf T0 t3,space5 24 +; CHECK-PRETTY: SRV struct r/o T1 t2,space4 1 +; CHECK-PRETTY: SRV byte r/o T2 t8,space1 1 ---------------- hekota wrote:
Change one of the cases to use the default `space0`? https://github.com/llvm/llvm-project/pull/104448 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits