[llvm] 31f7b1e - [Linker] Convert test to opaque pointers (NFC)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 03:58:51 PST 2022


Author: Nikita Popov
Date: 2022-12-14T12:58:43+01:00
New Revision: 31f7b1eb65add100953f11ffec34d7a3a2e30299

URL: https://github.com/llvm/llvm-project/commit/31f7b1eb65add100953f11ffec34d7a3a2e30299
DIFF: https://github.com/llvm/llvm-project/commit/31f7b1eb65add100953f11ffec34d7a3a2e30299.diff

LOG: [Linker] Convert test to opaque pointers (NFC)

To preserve test intent, drop the pointer type.

Added: 
    

Modified: 
    llvm/test/Linker/2003-01-30-LinkerTypeRename.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll b/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
index d61eb6d7abb3..7ef78c7abd2c 100644
--- a/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
+++ b/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll
@@ -1,11 +1,11 @@
 ; This fails because the linker renames the non-opaque type not the opaque
 ; one...
 
-; RUN: echo "%%Ty = type opaque @GV = external global %%Ty*" | llvm-as > %t.1.bc
+; RUN: echo "%%Ty = type opaque @GV = external global %%Ty" | llvm-as > %t.1.bc
 ; RUN: llvm-as < %s > %t.2.bc
 ; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
 ; CHECK: = global %Ty
 
 %Ty = type {i32}
 
- at GV = global %Ty* null
+ at GV = global %Ty {i32 0}


        


More information about the llvm-commits mailing list