mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
MIPS: Fix test that uses 3.7 load syntax
This was broken by r235973. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
2530f60652
commit
391813a685
1 file changed
+19
-19
@@ -5,7 +5,7 @@ entry:
|
||||
%in = alloca float, align 4
|
||||
%out = alloca float, align 4
|
||||
store volatile float 0xBFD59E1380000000, float* %in, align 4
|
||||
%in.0.in.0. = load volatile float, float* %in, align 4
|
||||
%in.0.in.0. = load volatile float* %in, align 4
|
||||
%rintf = tail call float @rintf(float %in.0.in.0.) #1
|
||||
store volatile float %rintf, float* %out, align 4
|
||||
ret void
|
||||
@@ -20,7 +20,7 @@ declare float @rintf(float)
|
||||
|
||||
define float @foosf1(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%call = tail call float @roundf(float %0) #2
|
||||
ret float %call
|
||||
|
||||
@@ -34,7 +34,7 @@ declare float @roundf(float) #1
|
||||
|
||||
define float @foosf2(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%call = tail call float @truncf(float %0) #2
|
||||
ret float %call
|
||||
|
||||
@@ -48,7 +48,7 @@ declare float @truncf(float) #1
|
||||
|
||||
define float @foosf3(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%call = tail call float @floorf(float %0) #2
|
||||
ret float %call
|
||||
|
||||
@@ -62,7 +62,7 @@ declare float @floorf(float) #1
|
||||
|
||||
define float @foosf4(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%call = tail call float @nearbyintf(float %0) #2
|
||||
ret float %call
|
||||
|
||||
@@ -76,7 +76,7 @@ declare float @nearbyintf(float) #1
|
||||
|
||||
define float @foosf5(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%mul = fmul float %0, undef
|
||||
ret float %mul
|
||||
|
||||
@@ -88,7 +88,7 @@ entry:
|
||||
|
||||
define float @foosf6(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%sub = fsub float %0, undef
|
||||
ret float %sub
|
||||
|
||||
@@ -100,7 +100,7 @@ entry:
|
||||
|
||||
define float @foosf7(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%0 = load float, float* %a, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%add = fadd float %0, undef
|
||||
ret float %add
|
||||
|
||||
@@ -113,8 +113,8 @@ entry:
|
||||
define float @foosf8(float* nocapture readonly %a) #0 {
|
||||
entry:
|
||||
%b = alloca float, align 4
|
||||
%b.0.b.0. = load volatile float, float* %b, align 4
|
||||
%0 = load float, float* %a, align 4
|
||||
%b.0.b.0. = load volatile float* %b, align 4
|
||||
%0 = load float* %a, align 4
|
||||
%div = fdiv float %b.0.b.0., %0
|
||||
ret float %div
|
||||
|
||||
@@ -127,9 +127,9 @@ entry:
|
||||
define float @foosf9() #0 {
|
||||
entry:
|
||||
%b = alloca float, align 4
|
||||
%b.0.b.0. = load volatile float, float* %b, align 4
|
||||
%b.0.b.0. = load volatile float* %b, align 4
|
||||
%conv = fpext float %b.0.b.0. to double
|
||||
%b.0.b.0.3 = load volatile float, float* %b, align 4
|
||||
%b.0.b.0.3 = load volatile float* %b, align 4
|
||||
%conv1 = fpext float %b.0.b.0.3 to double
|
||||
%call = tail call double @pow(double %conv, double %conv1) #1
|
||||
%conv2 = fptrunc double %call to float
|
||||
@@ -146,7 +146,7 @@ declare double @pow(double, double) #0
|
||||
define float @foosf10() #0 {
|
||||
entry:
|
||||
%a = alloca float, align 4
|
||||
%a.0.a.0. = load volatile float, float* %a, align 4
|
||||
%a.0.a.0. = load volatile float* %a, align 4
|
||||
%conv = fpext float %a.0.a.0. to double
|
||||
%call = tail call double @sin(double %conv) #1
|
||||
%conv1 = fptrunc double %call to float
|
||||
@@ -163,7 +163,7 @@ declare double @sin(double) #0
|
||||
define float @foosf11() #0 {
|
||||
entry:
|
||||
%b = alloca float, align 4
|
||||
%b.0.b.0. = load volatile float, float* %b, align 4
|
||||
%b.0.b.0. = load volatile float* %b, align 4
|
||||
%call = tail call float @ceilf(float %b.0.b.0.) #2
|
||||
ret float %call
|
||||
|
||||
@@ -179,8 +179,8 @@ define float @foosf12() #0 {
|
||||
entry:
|
||||
%b = alloca float, align 4
|
||||
%a = alloca float, align 4
|
||||
%b.0.b.0. = load volatile float, float* %b, align 4
|
||||
%a.0.a.0. = load volatile float, float* %a, align 4
|
||||
%b.0.b.0. = load volatile float* %b, align 4
|
||||
%a.0.a.0. = load volatile float* %a, align 4
|
||||
%call = tail call float @fmaxf(float %b.0.b.0., float %a.0.a.0.) #2
|
||||
ret float %call
|
||||
|
||||
@@ -196,8 +196,8 @@ define float @foosf13() #0 {
|
||||
entry:
|
||||
%b = alloca float, align 4
|
||||
%a = alloca float, align 4
|
||||
%b.0.b.0. = load volatile float, float* %b, align 4
|
||||
%a.0.a.0. = load volatile float, float* %a, align 4
|
||||
%b.0.b.0. = load volatile float* %b, align 4
|
||||
%a.0.a.0. = load volatile float* %a, align 4
|
||||
%call = tail call float @fminf(float %b.0.b.0., float %a.0.a.0.) #2
|
||||
ret float %call
|
||||
|
||||
@@ -211,4 +211,4 @@ declare float @fminf(float, float) #1
|
||||
|
||||
|
||||
attributes #0 = { nounwind "use-soft-float"="true" }
|
||||
attributes #1 = { nounwind readnone "use-soft-float"="true" }
|
||||
attributes #1 = { nounwind readnone "use-soft-float"="true" }
|
||||
Reference in new issue
Block a user