aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/null-streamer.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-02-22 23:49:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-02-22 23:49:50 +0000
commitc9addc40101d28766438c8b0cfad1a78fcd6fbf9 (patch)
tree98ebed368bca9ae9eb5f9f6f8e7d612d88df3dd9 /test/CodeGen/X86/null-streamer.ll
parent02634be4d4c8a72b652ae3e76b327a12593b03d4 (diff)
downloadexternal_llvm-c9addc40101d28766438c8b0cfad1a78fcd6fbf9.zip
external_llvm-c9addc40101d28766438c8b0cfad1a78fcd6fbf9.tar.gz
external_llvm-c9addc40101d28766438c8b0cfad1a78fcd6fbf9.tar.bz2
MC: Fix the MCNullStreamer which was broken in r147763.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/null-streamer.ll')
-rw-r--r--test/CodeGen/X86/null-streamer.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/null-streamer.ll b/test/CodeGen/X86/null-streamer.ll
new file mode 100644
index 0000000..7c0e82f
--- /dev/null
+++ b/test/CodeGen/X86/null-streamer.ll
@@ -0,0 +1,11 @@
+; Check the MCNullStreamer operates correctly, at least on a minimal test case.
+;
+; RUN: llc -filetype=null -o %t -march=x86 %s
+
+define void @f0() {
+ ret void
+}
+
+define void @f1() {
+ ret void
+}