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

Unified Diff: tests_lit/llvm2ice_tests/shift.ll

Issue 509233002: Convert lit tests to check disassembled assembly. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: add comment Created 6 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/llvm2ice_tests/shift.ll
diff --git a/tests_lit/llvm2ice_tests/shift.ll b/tests_lit/llvm2ice_tests/shift.ll
index d9f608df57ee9519fe7ad6307ad6615a7d3d2c7a..6cef07e284f28c07d2a8a78acc7059cef55945db 100644
--- a/tests_lit/llvm2ice_tests/shift.ll
+++ b/tests_lit/llvm2ice_tests/shift.ll
@@ -1,12 +1,12 @@
; This is a test of C-level conversion operations that clang lowers
; into pairs of shifts.
-; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s
-; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s
; RUN: %llvm2ice -O2 --verbose none %s \
-; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
+; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
+; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
; RUN: %llvm2ice -Om1 --verbose none %s \
-; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj
+; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
+; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
@@ -26,7 +26,7 @@ entry:
store i32 %v1, i32* %__4, align 1
ret void
}
-; CHECK: conv1:
+; CHECK-LABEL: conv1:
Jim Stichnoth 2014/08/28 20:19:23 Remove last ':', here and below.
jvoung (off chromium) 2014/08/29 00:51:20 Done.
; CHECK: shl {{.*}}, 24
; CHECK: sar {{.*}}, 24
@@ -40,7 +40,7 @@ entry:
store i32 %v1, i32* %__4, align 1
ret void
}
-; CHECK: conv2:
+; CHECK-LABEL: conv2:
; CHECK: shl {{.*}}, 16
; CHECK: sar {{.*}}, 16

Powered by Google App Engine
This is Rietveld 408576698