make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git] / test / CodeGen / CBackend / 2008-10-21-PPCLongDoubleConstant.ll
blobb72b57343cd0dcbd7f31056dccb3203a3310efb2
1 ; RUN: llc < %s -march=c
2 ; PR2907
3 target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
4 target triple = "powerpc-apple-darwin9.5"
5         %"struct.Point<0>" = type { %"struct.Tensor<1,0>" }
6         %"struct.QGauss2<1>" = type { %"struct.Quadrature<0>" }
7         %"struct.Quadrature<0>" = type { %struct.Subscriptor, i32, %"struct.std::vector<Point<0>,std::allocator<Point<0> > >", %"struct.std::vector<double,std::allocator<double> >" }
8         %struct.Subscriptor = type { i32 (...)**, i32, %"struct.std::type_info"* }
9         %"struct.Tensor<1,0>" = type { [1 x double] }
10         %"struct.std::_Vector_base<Point<0>,std::allocator<Point<0> > >" = type { %"struct.std::_Vector_base<Point<0>,std::allocator<Point<0> > >::_Vector_impl" }
11         %"struct.std::_Vector_base<Point<0>,std::allocator<Point<0> > >::_Vector_impl" = type { %"struct.Point<0>"*, %"struct.Point<0>"*, %"struct.Point<0>"* }
12         %"struct.std::_Vector_base<double,std::allocator<double> >" = type { %"struct.std::_Vector_base<double,std::allocator<double> >::_Vector_impl" }
13         %"struct.std::_Vector_base<double,std::allocator<double> >::_Vector_impl" = type { double*, double*, double* }
14         %"struct.std::type_info" = type { i32 (...)**, i8* }
15         %"struct.std::vector<Point<0>,std::allocator<Point<0> > >" = type { %"struct.std::_Vector_base<Point<0>,std::allocator<Point<0> > >" }
16         %"struct.std::vector<double,std::allocator<double> >" = type { %"struct.std::_Vector_base<double,std::allocator<double> >" }
18 define fastcc void @_ZN6QGaussILi1EEC1Ej(%"struct.QGauss2<1>"* %this, i32 %n) {
19 entry:
20         br label %bb4
22 bb4:            ; preds = %bb5.split, %bb4, %entry
23         %0 = fcmp ogt ppc_fp128 0xM00000000000000000000000000000000, select (i1 fcmp olt (ppc_fp128 fpext (double 0x3C447AE147AE147B to ppc_fp128), ppc_fp128 fmul (ppc_fp128 0xM00000000000000010000000000000000, ppc_fp128 0xM40140000000000000000000000000000)), ppc_fp128 fmul (ppc_fp128 0xM00000000000000010000000000000000, ppc_fp128 0xM40140000000000000000000000000000), ppc_fp128 fpext (double 0x3C447AE147AE147B to ppc_fp128))            ; <i1> [#uses=1]
24         br i1 %0, label %bb4, label %bb5.split
26 bb5.split:              ; preds = %bb4
27         %1 = getelementptr double* null, i32 0          ; <double*> [#uses=0]
28         br label %bb4