[llvm] [AutoUpgrade] Upgrade old-style !tbaa.struct field tags (PR #225967)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 01:30:12 PDT 2026


================
@@ -0,0 +1,68 @@
+; Test that old-style scalar tags used as !tbaa.struct field tags in older
+; bitcode are auto-upgraded to the struct-path aware format on load, whatever
+; instruction carries the !tbaa.struct. Null and already struct-path field
+; tags are left unchanged; an immutability flag is kept.
+;
+; RUN: llvm-dis < %s.bc | FileCheck %s
+; RUN: verify-uselistorder < %s.bc
----------------
antoniofrighetto wrote:

Nit: favor RUN lines before the comment (i.e., move them on top).

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


More information about the llvm-commits mailing list