[lld] r289405 - Fix TBAA metadata

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 11 13:10:12 PST 2016


Author: sanjoy
Date: Sun Dec 11 15:10:11 2016
New Revision: 289405

URL: http://llvm.org/viewvc/llvm-project?rev=289405&view=rev
Log:
Fix TBAA metadata

The existing tbaa metadata in the test is ill-formed, and fails the
verifier after r289402.

Modified:
    lld/trunk/test/ELF/lto/metadata.ll

Modified: lld/trunk/test/ELF/lto/metadata.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/metadata.ll?rev=289405&r1=289404&r2=289405&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/metadata.ll (original)
+++ lld/trunk/test/ELF/lto/metadata.ll Sun Dec 11 15:10:11 2016
@@ -10,4 +10,6 @@ define weak void @foo(i32* %p) {
   ret void
 }
 
-!0 = !{!"Simple C/C++ TBAA"}
+!0 = !{!1, !1, i64 0}
+!1 = !{!"int", !2}
+!2 = !{!"Simple C/C++ TBAA"}




More information about the llvm-commits mailing list