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

Unified Diff: tests_lit/llvm2ice_tests/adv-switch-opt.ll

Issue 1248823003: Only run adv-switch test when asm is allowed. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/adv-switch-opt.ll
diff --git a/tests_lit/llvm2ice_tests/adv-switch-opt.ll b/tests_lit/llvm2ice_tests/adv-switch-opt.ll
index 86b7536210306dac3907c30bc6d3ab153aabadfd..7aa832a01ba26624a60ad4363b7d1c3cc18b8ed9 100644
--- a/tests_lit/llvm2ice_tests/adv-switch-opt.ll
+++ b/tests_lit/llvm2ice_tests/adv-switch-opt.ll
@@ -1,8 +1,8 @@
; This tests the advanced lowering of switch statements. The advanced lowering
; uses jump tables, range tests and binary search.
-; RUN: %p2i -i %s --filetype=asm --assemble --disassemble --args --adv-switch \
-; RUN: -O2 | FileCheck %s
+; RUN: %if --need=allow_dump --command %p2i -i %s --filetype=asm --assemble \
+; RUN: --disassemble --args --adv-switch -O2 | FileCheck %s
; Dense but non-continuous ranges should be converted into a jump table.
define internal i32 @testJumpTable(i32 %a) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698