From: Evan Cheng Date: Mon, 14 May 2007 20:43:28 +0000 (+0000) Subject: Doh. .cpp -> .ll X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3cc94c08af609bb31c3b321b7376b2e1cb9aa985;p=oota-llvm.git Doh. .cpp -> .ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37047 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.cpp b/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.cpp deleted file mode 100644 index 365768afe79..00000000000 --- a/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.cpp +++ /dev/null @@ -1,21 +0,0 @@ -; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu -relocation-model=pic -; PR1027 - - %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] } - %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, i32 } -@stderr = external global %struct._IO_FILE* - -define void @__eprintf(i8* %string, i8* %expression, i32 %line, i8* %filename) { - %tmp = load %struct._IO_FILE** @stderr - %tmp5 = tail call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf( %struct._IO_FILE* %tmp, i8* %string, i8* %expression, i32 %line, i8* %filename ) - %tmp6 = load %struct._IO_FILE** @stderr - %tmp7 = tail call i32 @fflush( %struct._IO_FILE* %tmp6 ) - tail call void @abort( ) - unreachable -} - -declare i32 @fprintf(%struct._IO_FILE*, i8*, ...) - -declare i32 @fflush(%struct._IO_FILE*) - -declare void @abort() diff --git a/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.ll b/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.ll new file mode 100644 index 00000000000..365768afe79 --- /dev/null +++ b/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.ll @@ -0,0 +1,21 @@ +; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu -relocation-model=pic +; PR1027 + + %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] } + %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, i32 } +@stderr = external global %struct._IO_FILE* + +define void @__eprintf(i8* %string, i8* %expression, i32 %line, i8* %filename) { + %tmp = load %struct._IO_FILE** @stderr + %tmp5 = tail call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf( %struct._IO_FILE* %tmp, i8* %string, i8* %expression, i32 %line, i8* %filename ) + %tmp6 = load %struct._IO_FILE** @stderr + %tmp7 = tail call i32 @fflush( %struct._IO_FILE* %tmp6 ) + tail call void @abort( ) + unreachable +} + +declare i32 @fprintf(%struct._IO_FILE*, i8*, ...) + +declare i32 @fflush(%struct._IO_FILE*) + +declare void @abort()