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

Unified Diff: test/NaCl/ARM/vstr-sandboxing1.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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 | « test/NaCl/ARM/stack-change-sandboxing.ll ('k') | test/NaCl/Bitcode/alloca-operand.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/NaCl/ARM/vstr-sandboxing1.ll
diff --git a/test/NaCl/ARM/vstr-sandboxing1.ll b/test/NaCl/ARM/vstr-sandboxing1.ll
new file mode 100644
index 0000000000000000000000000000000000000000..54e91d5a4f50d9524bceef617ccc649caf13c458
--- /dev/null
+++ b/test/NaCl/ARM/vstr-sandboxing1.ll
@@ -0,0 +1,13 @@
+; RUN: pnacl-llc -mtriple=armv7-unknown-nacl -filetype=obj %s -o - \
+; RUN: | llvm-objdump -disassemble -triple armv7 - | FileCheck %s
+
+define void @test_vstr_sandbox(<8 x i8>* %ptr) nounwind {
+ %1 = insertelement <8 x i8> undef, i8 -128, i32 0
+ %2 = shufflevector <8 x i8> %1, <8 x i8> undef, <8 x i32> zeroinitializer
+ store <8 x i8> %2, <8 x i8>* %ptr, align 8
+; CHECK: bic r0, r0, #3221225472
+; CHECK-NEXT: vstr {{[0-9a-z]+}}, [r0]
+
+ ret void
+}
+
« no previous file with comments | « test/NaCl/ARM/stack-change-sandboxing.ll ('k') | test/NaCl/Bitcode/alloca-operand.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698