Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: test/Transforms/NaCl/strip-tbaa-metadata.ll

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/Transforms/NaCl/strip-tbaa-metadata.ll
diff --git a/test/Transforms/NaCl/strip-tbaa-metadata.ll b/test/Transforms/NaCl/strip-tbaa-metadata.ll
index c555af67122b35ea6ebb1f011983090f3003d117..4c38e70cf2f2f9429359faeb9f9c4642e8d55899 100644
--- a/test/Transforms/NaCl/strip-tbaa-metadata.ll
+++ b/test/Transforms/NaCl/strip-tbaa-metadata.ll
@@ -5,7 +5,7 @@
; CHECK-NOT: !tbaa
define double @foo(i32* nocapture %ptr1, double* nocapture %ptr2) nounwind readonly {
store i32 99999, i32* %ptr1, align 1, !tbaa !0
- %1 = load double* %ptr2, align 8, !tbaa !3
+ %1 = load double, double* %ptr2, align 8, !tbaa !3
ret double %1
}
@@ -28,9 +28,9 @@ define void @bar(i8* nocapture %p, i8* nocapture %q,
; Test that the metadata nodes aren't left over.
; CHECK-NOT: !0 =
-!0 = metadata !{metadata !"int", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA"}
-!3 = metadata !{metadata !"double", metadata !1}
-!4 = metadata !{metadata !"A", metadata !1}
-!5 = metadata !{metadata !"B", metadata !1}
+!0 = !{!"int", !1}
+!1 = !{!"omnipotent char", !2}
+!2 = !{!"Simple C/C++ TBAA"}
+!3 = !{!"double", !1}
+!4 = !{!"A", !1}
+!5 = !{!"B", !1}

Powered by Google App Engine
This is Rietveld 408576698