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

Unified Diff: tests_lit/assembler/x86/jump_encodings.ll

Issue 1312433004: Weight variables by their number of uses for register allocation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Count uses in VMetadata Created 5 years, 4 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: tests_lit/assembler/x86/jump_encodings.ll
diff --git a/tests_lit/assembler/x86/jump_encodings.ll b/tests_lit/assembler/x86/jump_encodings.ll
index d94be0a22212e74df02d22ae15657cfc3f55334c..22587219e29fc8e482937b7c2278f590a7653e33 100644
--- a/tests_lit/assembler/x86/jump_encodings.ll
+++ b/tests_lit/assembler/x86/jump_encodings.ll
@@ -169,13 +169,13 @@ next2:
br i1 %cmp, label %next, label %next2
}
; CHECK-LABEL: test_local_forward_then_back
-; CHECK: 14: {{.*}} mov DWORD PTR
-; CHECK-NEXT: 16: {{.*}} mfence
-; CHECK-NEXT: 19: {{.*}} mov DWORD PTR {{.*}},0x1
-; CHECK-NEXT: 20: {{.*}} cmp
-; CHECK-NEXT: 23: {{.*}} jb 33
-; CHECK: 37: {{.*}} jne 14
-; CHECK: 39: {{.*}} jmp 19
+; CHECK: {{.*}} mov DWORD PTR
+; CHECK-NEXT: {{.*}} mfence
+; CHECK-NEXT: {{.*}} mov {{.*}},0x1
jvoung (off chromium) 2015/08/28 20:31:45 Hmm yes, this test is pretty brittle and annoying
ascull 2015/08/28 21:22:36 Done.
+; CHECK-NEXT: {{.*}} cmp
+; CHECK-NEXT: {{.*}} jb
+; CHECK: {{.*}} jne
+; CHECK: {{.*}} jmp
; Test that backward local branches also work and are small.

Powered by Google App Engine
This is Rietveld 408576698