[llvm-commits] [llvm] r172747 - /llvm/trunk/test/CodeGen/PowerPC/quadint-return.ll
Bill Schmidt
wschmidt at linux.vnet.ibm.com
Thu Jan 17 11:46:51 PST 2013
Author: wschmidt
Date: Thu Jan 17 13:46:51 2013
New Revision: 172747
URL: http://llvm.org/viewvc/llvm-project?rev=172747&view=rev
Log:
Restore reverted test case, this time with REQUIRES: asserts
Added:
llvm/trunk/test/CodeGen/PowerPC/quadint-return.ll
Added: llvm/trunk/test/CodeGen/PowerPC/quadint-return.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/quadint-return.ll?rev=172747&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/quadint-return.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/quadint-return.ll Thu Jan 17 13:46:51 2013
@@ -0,0 +1,19 @@
+; REQUIRES: asserts
+; RUN: llc -O0 -debug -o - < %s 2>&1 | FileCheck %s
+
+target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
+target triple = "powerpc64-unknown-linux-gnu"
+
+define i128 @foo() nounwind {
+entry:
+ %x = alloca i128, align 16
+ store i128 27, i128* %x, align 16
+ %0 = load i128* %x, align 16
+ ret i128 %0
+}
+
+; CHECK: ********** Function: foo
+; CHECK: ********** FAST REGISTER ALLOCATION **********
+; CHECK: %X3<def> = COPY %vreg
+; CHECK-NEXT: %X4<def> = COPY %vreg
+; CHECK-NEXT: BLR
More information about the llvm-commits
mailing list