projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IR: Give 'DI' prefix to debug info metadata
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
fptoint.ll
diff --git
a/test/CodeGen/ARM/fptoint.ll
b/test/CodeGen/ARM/fptoint.ll
index b0db83cc2b04e9b230742ad5d4d94161867df35e..6cbb30b23fbebe1022a878468e4488768c1a5d21 100644
(file)
--- a/
test/CodeGen/ARM/fptoint.ll
+++ b/
test/CodeGen/ARM/fptoint.ll
@@
-1,17
+1,16
@@
-; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fmrs | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | not grep fmrrd
+; RUN: llc -mtriple=arm-eabi -arm-atomic-cfg-tidy=0 -mattr=+v6,+vfp2 %s -o - | FileCheck %s
@i = weak global i32 0 ; <i32*> [#uses=2]
@u = weak global i32 0 ; <i32*> [#uses=2]
define i32 @foo1(float *%x) {
@i = weak global i32 0 ; <i32*> [#uses=2]
@u = weak global i32 0 ; <i32*> [#uses=2]
define i32 @foo1(float *%x) {
- %tmp1 = load float* %x
+ %tmp1 = load float
, float
* %x
%tmp2 = bitcast float %tmp1 to i32
ret i32 %tmp2
}
define i64 @foo2(double *%x) {
%tmp2 = bitcast float %tmp1 to i32
ret i32 %tmp2
}
define i64 @foo2(double *%x) {
- %tmp1 = load double* %x
+ %tmp1 = load double
, double
* %x
%tmp2 = bitcast double %tmp1 to i64
ret i64 %tmp2
}
%tmp2 = bitcast double %tmp1 to i64
ret i64 %tmp2
}
@@
-45,3
+44,6
@@
define void @foo9(double %x) {
store i16 %tmp, i16* null
ret void
}
store i16 %tmp, i16* null
ret void
}
+; CHECK-LABEL: foo9:
+; CHECK: vmov r0, s0
+