[llvm] [IR][unittests] Replace of PointerType::get(Type) with opaque version (NFC) (PR #123621)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 07:27:32 PST 2025


================
@@ -328,7 +328,7 @@ TEST(RandomIRBuilderTest, createStackMemory) {
       Int64Ty,
       DoubleTy,
       PointerType::get(Ctx, 0),
-      PointerType::get(Int32Ty, 0),
+      PointerType::get(Ctx, 0),
----------------
nikic wrote:

Would be better to drop the duplicate (and the corresponding line in Init).

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


More information about the llvm-commits mailing list