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

Unified Diff: tests_lit/llvm2ice_tests/callindirect.pnacl.ll

Issue 1559243002: Suzero. X8664. NaCl Sandboxing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: make format Created 4 years, 11 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/callindirect.pnacl.ll
diff --git a/tests_lit/llvm2ice_tests/callindirect.pnacl.ll b/tests_lit/llvm2ice_tests/callindirect.pnacl.ll
index f69f6eef420766443fa3c9700cec0c50297163e1..842580ef3dcecb68f798bb265e2a3fb76b9b51c6 100644
--- a/tests_lit/llvm2ice_tests/callindirect.pnacl.ll
+++ b/tests_lit/llvm2ice_tests/callindirect.pnacl.ll
@@ -12,6 +12,18 @@
; RUN: --target x8632 -i %s --args -Om1 \
; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=OPTM1 %s
+; RUN: %if --need=target_X8664 --command %p2i --filetype=obj --disassemble \
+; RUN: --target x8664 -i %s --args -O2 \
+; RUN: | %if --need=target_X8664 --command FileCheck --check-prefix X8664 %s
+; RUN: %if --need=allow_dump --need=target_X8664 --command %p2i --filetype=asm \
+; RUN: --assemble --disassemble -i %s --args -O2 \
+; RUN: | %if --need=allow_dump --need=target_X8664 \
+; RUN: --command FileCheck --check-prefix=X8664 %s
+; RUN: %if --need=target_X8664 --command %p2i --filetype=obj --disassemble \
+; RUN: --target x8664 -i %s --args -Om1 \
+; RUN: | %if --need=target_X8664 \
+; RUN: --command FileCheck --check-prefix=X8664-OPTM1 %s
+
; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented)
; once enough infrastructure is in. Also, switch to --filetype=obj
; when possible.
@@ -55,6 +67,10 @@ entry:
; OPTM1: call [[TARGET]]
; OPTM1: call [[TARGET]]
;
+; X8664-LABEL: CallIndirect
Jim Stichnoth 2016/01/13 18:28:27 Why bother with these two RUN configs if all you'r
John 2016/01/13 20:48:03 Because I was going to enable these for x86-64
+;
+; X8664-OPTM1-LABEL: CallIndirect
+;
; ARM32-LABEL: CallIndirect
; ARM32: blx [[REGISTER:r.*]]
; ARM32: blx [[REGISTER]]

Powered by Google App Engine
This is Rietveld 408576698