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

Unified Diff: tests_lit/llvm2ice_tests/vector-shuffle.ll

Issue 2448193008: Subzero, MIPS32: Enable MIPS support in lit tests (Closed)
Patch Set: Addressed review comments Created 4 years, 1 month 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 | « tests_lit/llvm2ice_tests/vector-cast.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/vector-shuffle.ll
diff --git a/tests_lit/llvm2ice_tests/vector-shuffle.ll b/tests_lit/llvm2ice_tests/vector-shuffle.ll
index 62fbc9ddfad37c8930f7c43ecfbc3c81531419e5..e0fa157c4b1472692e3ecee1977d3eb13e123d3f 100644
--- a/tests_lit/llvm2ice_tests/vector-shuffle.ll
+++ b/tests_lit/llvm2ice_tests/vector-shuffle.ll
@@ -5,6 +5,12 @@
; RUN: %p2i -i %s --target=x8632 --filetype=obj --disassemble -a -O2 \
; RUN: --allow-externally-defined-symbols | FileCheck %s --check-prefix=X86
+; RUN: %if --need=target_MIPS32 --need=allow_dump \
+; RUN: --command %p2i --filetype=asm --assemble --disassemble --target \
+; RUN: mips32 -i %s --args -O2 -allow-externally-defined-symbols \
+; RUN: | %if --need=target_MIPS32 --need=allow_dump \
+; RUN: --command FileCheck --check-prefix MIPS32 %s
+
declare void @useV4I32(<4 x i32> %t);
define internal void @shuffleV4I32(<4 x i32> %a, <4 x i32> %b) {
@@ -51,3 +57,19 @@ define internal void @shuffleV4I32(<4 x i32> %a, <4 x i32> %b) {
ret void
}
+; MIPS32-LABEL: shuffleV4I32
+; MIPS32: move
+; MIPS32: move
+; MIPS32: move
+; MIPS32: move
+; MIPS32: jal
+; MIPS32: move
+; MIPS32: move
+; MIPS32: move
+; MIPS32: move
+; MIPS32: jal
+; MIPS32: move
+; MIPS32: move
+; MIPS32: move
+; MIPS32: move
+; MIPS32: jal
« no previous file with comments | « tests_lit/llvm2ice_tests/vector-cast.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698