From 907da171cc911d701da02a5cab898a9c49dd7724 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Wed, 18 Nov 2009 14:58:34 +0000 Subject: Update LLVM to r89205. --- test/CodeGen/Mips/2008-08-03-ReturnDouble.ll | 1 + test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll (limited to 'test/CodeGen/Mips') diff --git a/test/CodeGen/Mips/2008-08-03-ReturnDouble.ll b/test/CodeGen/Mips/2008-08-03-ReturnDouble.ll index c41d5213c178..1244a3ed6054 100644 --- a/test/CodeGen/Mips/2008-08-03-ReturnDouble.ll +++ b/test/CodeGen/Mips/2008-08-03-ReturnDouble.ll @@ -1,6 +1,7 @@ ; Double return in abicall (default) ; RUN: llc < %s -march=mips ; PR2615 +; XFAIL: * define double @main(...) { entry: diff --git a/test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll b/test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll new file mode 100644 index 000000000000..f59639f66adf --- /dev/null +++ b/test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s | FileCheck %s +target datalayout = "E-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-n32" +target triple = "mips-unknown-linux" + +define float @h() nounwind readnone { +entry: +; CHECK: lui $2, %hi($CPI1_0) +; CHECK: lwc1 $f0, %lo($CPI1_0)($2) + ret float 0x400B333340000000 +} -- cgit v1.3