aboutsummaryrefslogtreecommitdiffstats
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
commitb2cbb74a67557e050bf721e303566674398ea2ec (patch)
tree35c0d3ce710f620833635126189fc6f3a6b4f2d7
parent80cb49ea90ad34a368bba08c09c3ad026e4ce898 (diff)
downloadexternal_llvm-b2cbb74a67557e050bf721e303566674398ea2ec.zip
external_llvm-b2cbb74a67557e050bf721e303566674398ea2ec.tar.gz
external_llvm-b2cbb74a67557e050bf721e303566674398ea2ec.tar.bz2
Test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50377 91177308-0d34-0410-b5e6-96231b3b80d8
-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 0000000..d105bcd
--- /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
+}