[llvm] [NFC][HLSL] Refactor DXILResourceTest for upcoming PR (PR #134952)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 19:42:12 PDT 2025


================
@@ -64,7 +64,11 @@ testing::AssertionResult MDTupleEq(const char *LHSExpr, const char *RHSExpr,
                                      << "Which is:\n"
                                      << "  " << RHSRepr;
 }
+
 #define EXPECT_MDEQ(X, Y) EXPECT_PRED_FORMAT2(MDTupleEq, X, Y)
+
+#define EXPECT_PREQ(X, Y, Z) EXPECT_EQ(X, (std::pair<uint32_t, uint32_t>{Y, Z}))
----------------
bogner wrote:

Oh, PR might be "Props", if that's the case I guess "EXPECT_PROPS_EQ". In any case, PR isn't obvious to me.

https://github.com/llvm/llvm-project/pull/134952


More information about the llvm-commits mailing list