~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/ARM/fmdrr-fmrrd.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc -mtriple=arm-eabi -mattr=vfp2 %s -o - | FileCheck %s
 
2
 
 
3
; naive codegen for this is:
 
4
; _i:
 
5
;        fmdrr d0, r0, r1
 
6
;        fmrrd r0, r1, d0
 
7
;        bx lr
 
8
 
 
9
define i64 @test(double %X) {
 
10
        %Y = bitcast double %X to i64
 
11
        ret i64 %Y
 
12
}
 
13
 
 
14
; CHECK-LABEL: test:
 
15
; CHECK-NOT: fmdrr
 
16
; CHECK-NOT: fmrrd
 
17