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

Unified Diff: test/Transforms/NaCl/pnacl-abi-simplify.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
Index: test/Transforms/NaCl/pnacl-abi-simplify.ll
diff --git a/test/Transforms/NaCl/pnacl-abi-simplify.ll b/test/Transforms/NaCl/pnacl-abi-simplify.ll
new file mode 100644
index 0000000000000000000000000000000000000000..6b10155983f468290e9d88df91100d4730ff7575
--- /dev/null
+++ b/test/Transforms/NaCl/pnacl-abi-simplify.ll
@@ -0,0 +1,11 @@
+; RUN: opt %s -pnacl-abi-simplify-preopt -pnacl-abi-simplify-postopt -S \
+; RUN: | FileCheck %s
+
+target datalayout = "p:32:32:32"
+
+; Check that the "tail" attribute is preserved on calls.
+define void @tail_call() {
+ tail call void @tail_call()
+ ret void
+}
+; CHECK: tail call void @tail_call()
« no previous file with comments | « test/Transforms/NaCl/pnacl-abi-internalize-symbols-pso.ll ('k') | test/Transforms/NaCl/pnacl-abi-simplify-postopt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698