[llvm-commits] [llvm] r170709 - /llvm/trunk/test/CodeGen/PowerPC/in-asm-f64-reg.ll

Rafael Espindola rafael.espindola at gmail.com
Thu Dec 20 09:47:27 PST 2012


Author: rafael
Date: Thu Dec 20 11:47:27 2012
New Revision: 170709

URL: http://llvm.org/viewvc/llvm-project?rev=170709&view=rev
Log:
Simplify the testcase a bit.

I checked that it would still crash llc before the corresponding fix.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/in-asm-f64-reg.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/in-asm-f64-reg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/in-asm-f64-reg.ll?rev=170709&r1=170708&r2=170709&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/in-asm-f64-reg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/in-asm-f64-reg.ll Thu Dec 20 11:47:27 2012
@@ -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}                  





More information about the llvm-commits mailing list