commit | 315e3cb9a329d82b2231005c40e9449fe4e4793a | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Mon Apr 28 22:14:34 2008 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Mon Apr 28 22:14:34 2008 +0000 |
tree | e7dc5085fe9ffe28fcc3dd418cf5e46dd8676acd | |
parent | b96782ecbdf18725fa0b520a4a58249d95602739 [diff] [blame] |
Test case. llvm-svn: 50377
diff --git a/llvm/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll b/llvm/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll new file mode 100644 index 0000000..d105bcd --- /dev/null +++ b/llvm/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 +}