~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/constant-pool-remat-0.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
; REQUIRES: asserts
 
2
; RUN: llc < %s -mtriple=x86_64-linux   | FileCheck %s
 
3
; RUN: llc < %s -mtriple=x86_64-linux -regalloc=greedy | FileCheck %s
 
4
; RUN: llc < %s -mtriple=i386-linux -mattr=+sse2 | FileCheck %s
 
5
; CHECK:     LCPI
 
6
; CHECK:     LCPI
 
7
; CHECK:     LCPI
 
8
; CHECK-NOT: LCPI
 
9
 
 
10
; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X64stat
 
11
; X64stat: 6 asm-printer
 
12
 
 
13
; RUN: llc < %s -march=x86 -mattr=+sse2 -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X32stat
 
14
; X32stat: 12 asm-printer
 
15
 
 
16
declare float @qux(float %y)
 
17
 
 
18
define float @array(float %a) nounwind {
 
19
  %n = fmul float %a, 9.0
 
20
  %m = call float @qux(float %n)
 
21
  %o = fmul float %m, 9.0
 
22
  ret float %o
 
23
}