[PATCH] D150887: [clang] Convert a few tests to opaque pointers
Sergei Barannikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 18 10:54:31 PDT 2023
barannikov88 added inline comments.
================
Comment at: clang/test/CodeGenCXX/const-init-cxx11.cpp:353
};
- // CHECK: @_ZN14VirtualMembersL13sGlobalMemoryE = internal global { i8** } { i8** getelementptr inbounds ({ [3 x i8*] }, { [3 x i8*] }* @_ZTVN14VirtualMembers12nsMemoryImplE, i32 0, inrange i32 0, i32 2) }
+ // CHECK: @_ZN14VirtualMembersL13sGlobalMemoryE = internal global %"struct.VirtualMembers::nsMemoryImpl" { ptr getelementptr inbounds ({ [3 x ptr] }, ptr @_ZTVN14VirtualMembers12nsMemoryImplE, i32 0, inrange i32 0, i32 2) }
__attribute__((used))
----------------
This was one suspicious change. An anonymous struct became named.
================
Comment at: clang/test/CodeGenCXX/constructor-destructor-return-this.cpp:156
+// CHECKMS-LABEL: define dso_local x86_thiscallcc noundef ptr @"??0D@@QAE at XZ"(ptr {{[^,]*}} returned{{[^,]*}} %this, i32 noundef %is_most_derived)
+// CHECKMS-LABEL: define dso_local x86_thiscallcc void @"??1D@@UAE at XZ"(ptr{{[^,]*}} %this)
----------------
The parameter has changed its name for some reason.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150887/new/
https://reviews.llvm.org/D150887
More information about the cfe-commits
mailing list