You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
This commit is contained in:
parent
37fbf886a3
commit
e19d552987
27
external/llvm/test/CodeGen/PowerPC/fp-int-fp.ll
vendored
Normal file
27
external/llvm/test/CodeGen/PowerPC/fp-int-fp.ll
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep r1
|
||||
|
||||
define double @test1(double %X) {
|
||||
%Y = fptosi double %X to i64 ; <i64> [#uses=1]
|
||||
%Z = sitofp i64 %Y to double ; <double> [#uses=1]
|
||||
ret double %Z
|
||||
}
|
||||
|
||||
define float @test2(double %X) {
|
||||
%Y = fptosi double %X to i64 ; <i64> [#uses=1]
|
||||
%Z = sitofp i64 %Y to float ; <float> [#uses=1]
|
||||
ret float %Z
|
||||
}
|
||||
|
||||
define double @test3(float %X) {
|
||||
%Y = fptosi float %X to i64 ; <i64> [#uses=1]
|
||||
%Z = sitofp i64 %Y to double ; <double> [#uses=1]
|
||||
ret double %Z
|
||||
}
|
||||
|
||||
define float @test4(float %X) {
|
||||
%Y = fptosi float %X to i64 ; <i64> [#uses=1]
|
||||
%Z = sitofp i64 %Y to float ; <float> [#uses=1]
|
||||
ret float %Z
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user