From 287b47f04b3166337c9a4cca7b651e59d99c6f42 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 21 May 2007 23:30:33 +0000 Subject: [PATCH] Add test for PR1259. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37273 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll diff --git a/test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll b/test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll new file mode 100644 index 00000000000..6965849e323 --- /dev/null +++ b/test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 +; PR1259 + +define void @test() { + %tmp2 = call i32 asm "...", "=r,~{dirflag},~{fpsr},~{flags},~{dx},~{cx},~{ax}"( ) + unreachable +} -- 2.34.1