From 9d32f2aacbf3dd167cfde682882a842c34016fdf Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 28 Apr 2008 22:14:34 +0000 Subject: [PATCH] Test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50377 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll 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 00000000000..d105bcd5209 --- /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 +} -- 2.34.1