Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison test/CodeGen/ARM/fabs-to-bfc.ll @ 100:7d135dc70f03
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
1 ; RUN: llc < %s -mtriple=armv5e-none-linux-gnueabi -mattr=+vfp2 | FileCheck %s -check-prefix=CHECK-VABS | |
2 ; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mattr=+vfp3 | FileCheck %s -check-prefix=CHECK-BFC | |
3 | |
4 | |
5 define double @test(double %tx) { | |
6 ;CHECK-LABEL: test: | |
7 %call = tail call double @fabs(double %tx) | |
8 ret double %call | |
9 ;CHECK-VABS: vabs.f64 | |
10 ;CHECK-BFC: bfc | |
11 } | |
12 | |
13 declare double @fabs(double) readnone | |
14 |