summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-04-28 22:14:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-04-28 22:14:34 +0000
commit9d32f2aacbf3dd167cfde682882a842c34016fdf (patch)
tree35c0d3ce710f620833635126189fc6f3a6b4f2d7 /test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll
parent33bf38ad881fa3d403cc81209d0ae796f94f125e (diff)
downloadllvm-9d32f2aacbf3dd167cfde682882a842c34016fdf.tar.gz
llvm-9d32f2aacbf3dd167cfde682882a842c34016fdf.tar.bz2
llvm-9d32f2aacbf3dd167cfde682882a842c34016fdf.tar.xz
Test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll')
-rw-r--r--test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll b/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll
new file mode 100644
index 0000000000..d105bcd520
--- /dev/null
+++ b/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc
+
+define i64 @t(i64 %maxIdleDuration) nounwind {
+ call void asm sideeffect "wrmsr", "{cx},A,~{dirflag},~{fpsr},~{flags}"( i32 416, i64 0 ) nounwind
+ unreachable
+}