summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-12-20 17:47:27 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-12-20 17:47:27 +0000
commitffc7d3b0adeae2303e70f234ba033d76a78108bb (patch)
tree9513c27a5d77fcf53e92b7e8e91f65a3b6207f5d
parentd5d46ace89d2b7ec1a54610925bc0f13bb394335 (diff)
downloadllvm-ffc7d3b0adeae2303e70f234ba033d76a78108bb.tar.gz
llvm-ffc7d3b0adeae2303e70f234ba033d76a78108bb.tar.bz2
llvm-ffc7d3b0adeae2303e70f234ba033d76a78108bb.tar.xz
Simplify the testcase a bit.
I checked that it would still crash llc before the corresponding fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170709 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/PowerPC/in-asm-f64-reg.ll19
1 files changed, 4 insertions, 15 deletions
diff --git a/test/CodeGen/PowerPC/in-asm-f64-reg.ll b/test/CodeGen/PowerPC/in-asm-f64-reg.ll
index e457849800..1321dfce20 100644
--- a/test/CodeGen/PowerPC/in-asm-f64-reg.ll
+++ b/test/CodeGen/PowerPC/in-asm-f64-reg.ll
@@ -1,22 +1,11 @@
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu | 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-bgq-linux"
-
-define void @_Z15quad_copy_1024nPcS_m() nounwind {
-; CHECK: @_Z15quad_copy_1024nPcS_m
+define void @f() {
+; CHECK: @f
entry:
- br i1 undef, label %short_msg, label %if.end
-
-if.end: ; preds = %entry
- %0 = tail call double* asm sideeffect "qvstfdux $2,$0,$1", "=b,{r7},{f11},0,~{memory}"(i32 64, double undef, double* undef) nounwind, !srcloc !0
- unreachable
+ %0 = tail call double* asm sideeffect "qvstfdux $2,$0,$1", "=b,{r7},{f11},0,~{memory}"(i32 64, double undef, double* undef)
+ ret void
; CHECK: qvstfdux 11,{{[0-9]+}},7
-
-short_msg: ; preds = %entry
- ret void
}
-
-!0 = metadata !{i32 -2147422199}