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

Unified Diff: tests_lit/llvm2ice_tests/ias-multi-reloc.ll

Issue 1182603004: Subzero: Transform suitable Load/Arith/Store sequences into RMW ops. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 6 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
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/rmw.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/ias-multi-reloc.ll
diff --git a/tests_lit/llvm2ice_tests/ias-multi-reloc.ll b/tests_lit/llvm2ice_tests/ias-multi-reloc.ll
index c5b0fc2947e4f5e8dd71bfbef6b840421370ea01..11a708ea6cbc454dc0f01825960a0acd0c6eae08 100644
--- a/tests_lit/llvm2ice_tests/ias-multi-reloc.ll
+++ b/tests_lit/llvm2ice_tests/ias-multi-reloc.ll
@@ -26,6 +26,7 @@ entry:
; CHECK: .long p_global_char
; CHECK: .long global_char
+; Also exercises the RMW add operation.
define internal void @add_in_place() {
entry:
%p_global_char.bc = bitcast [4 x i8]* @p_global_char to i32*
@@ -37,8 +38,8 @@ entry:
ret void
}
; CHECK-LABEL: add_in_place
-; CHECK: .long global_char
; CHECK: .long p_global_char
+; CHECK-NEXT: .long global_char
define internal void @cmp_global_immediate() {
entry:
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/rmw.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698