summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-07 22:05:31 +0000
committerChris Lattner <sabre@nondot.org>2005-01-07 22:05:31 +0000
commit9cd87dbccbbda47e42d5ca27effdf62c86bee9e5 (patch)
tree47759fb66a3acdcb06d146822c9317a12f19ffe3 /test/CodeGen/Generic/2003-05-27-usefsubasbool.ll
parent7cc4777a263f6a52877d29201311fde5f6edb632 (diff)
downloadllvm-9cd87dbccbbda47e42d5ca27effdf62c86bee9e5.tar.gz
llvm-9cd87dbccbbda47e42d5ca27effdf62c86bee9e5.tar.bz2
llvm-9cd87dbccbbda47e42d5ca27effdf62c86bee9e5.tar.xz
Cleanup a bunch of tests. In particular do not allow target directives in
the .ll file or it forces the V9 backend. This is the CodeGen/Generic dir, so there is no use in doing that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/2003-05-27-usefsubasbool.ll')
-rw-r--r--test/CodeGen/Generic/2003-05-27-usefsubasbool.ll54
1 files changed, 1 insertions, 53 deletions
diff --git a/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll b/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll
index 5b756b56ee..52df931cb3 100644
--- a/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll
+++ b/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll
@@ -1,58 +1,6 @@
; RUN: llvm-as -f %s -o - | llc
-;; Date: May 27, 2003.
-;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c
-;; Function: Matrix QRiterate(Matrix A, Matrix U)
-;;
-;; Error: llc produces an invalid register <NULL VALUE> for the
-;; a boolean value computed using setne with a double.
-;;
-;; Cause: In SparcInstrSelection.cpp, for SetCC, when a result of setne
-;; is used for a branch, it can generate a "branch-on-integer-register"
-;; for integer registers. In that case, it never saves the value of
-;; the boolean result. It was attempting to do the same thing for an
-;; FP compare!
-;;
-;; LLC Output:
-;; !****** Outputing Function: QRiterate_1 ******
-;;
-;; .section ".text"
-;; .align 4
-;; .global QRiterate_1
-;; .type QRiterate_1, 2
-;; QRiterate_1:
-;; .L_QRiterate_1_LL_0:
-;; save %o6, -192, %o6
-;; sethi %hh(LLVMGlobal__2), %o1
-;; sethi %lm(LLVMGlobal__2), %o0
-;; or %o1, %hm(LLVMGlobal__2), %o1
-;; sllx %o1, 32, %o1
-;; or %o0, %o1, %o0
-;; or %o0, %lo(LLVMGlobal__2), %o0
-;; ldd [%o0+0], %f32
-;; ba .L_QRiterate_1_LL_1
-;; fcmpd %fcc0, %f0, %f32
-;;
-;; .L_QRiterate_1_LL_1:
-;; brnz <NULL VALUE>, .L_QRiterate_1_LL_1
-;; nop
-;; ba .L_QRiterate_1_LL_2
-;; nop
-;;
-;; .L_QRiterate_1_LL_2:
-;; jmpl %i7+8, %g0
-;; restore %g0, 0, %g0
-;;
-;; .EndOf_QRiterate_1:
-;; .size QRiterate_1, .EndOf_QRiterate_1-QRiterate_1
-;;
-
-target endian = big
-target pointersize = 64
-
-implementation ; Functions:
-
-internal void %QRiterate(double %tmp.212) {
+void %QRiterate(double %tmp.212) {
entry: ; No predecessors!
br label %shortcirc_next.1