Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
1d412f64
Commit
1d412f64
authored
9 years ago
by
Paul Robinson
Browse files
Options
Downloads
Patches
Plain Diff
Reapply r262054 with triple fix.
llvm-svn: 262069
parent
93612ec5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/test/CodeGen/AArch64/fdiv-combine.ll
+15
-15
15 additions, 15 deletions
llvm/test/CodeGen/AArch64/fdiv-combine.ll
with
15 additions
and
15 deletions
llvm/test/CodeGen/AArch64/fdiv-combine.ll
+
15
−
15
View file @
1d412f64
; RUN: llc -m
arch
=aarch64 < %s | FileCheck %s
; RUN: llc -m
triple
=aarch64
-unknown-unknown
< %s | FileCheck %s
; Following test cases check:
; a / D; b / D; c / D;
...
...
@@ -6,8 +6,8 @@
; recip = 1.0 / D; a * recip; b * recip; c * recip;
define
void
@three_fdiv_float
(
float
%D
,
float
%a
,
float
%b
,
float
%c
)
#0
{
; CHECK-LABEL: three_fdiv_float:
; CHECK: fdiv
; CHECK-
NEXT-
NOT: fdiv
; CHECK: fdiv
s
; CHECK-NOT: fdiv
; CHECK: fmul
; CHECK: fmul
; CHECK: fmul
...
...
@@ -20,8 +20,8 @@ define void @three_fdiv_float(float %D, float %a, float %b, float %c) #0 {
define
void
@three_fdiv_double
(
double
%D
,
double
%a
,
double
%b
,
double
%c
)
#0
{
; CHECK-LABEL: three_fdiv_double:
; CHECK: fdiv
; CHECK-
NEXT-
NOT: fdiv
; CHECK: fdiv
d
; CHECK-NOT: fdiv
; CHECK: fmul
; CHECK: fmul
; CHECK: fmul
...
...
@@ -34,8 +34,8 @@ define void @three_fdiv_double(double %D, double %a, double %b, double %c) #0 {
define
void
@three_fdiv_4xfloat
(<
4
x
float
>
%D
,
<
4
x
float
>
%a
,
<
4
x
float
>
%b
,
<
4
x
float
>
%c
)
#0
{
; CHECK-LABEL: three_fdiv_4xfloat:
; CHECK: fdiv
; CHECK-
NEXT-
NOT: fdiv
; CHECK: fdiv
v
; CHECK-NOT: fdiv
; CHECK: fmul
; CHECK: fmul
; CHECK: fmul
...
...
@@ -48,8 +48,8 @@ define void @three_fdiv_4xfloat(<4 x float> %D, <4 x float> %a, <4 x float> %b,
define
void
@three_fdiv_2xdouble
(<
2
x
double
>
%D
,
<
2
x
double
>
%a
,
<
2
x
double
>
%b
,
<
2
x
double
>
%c
)
#0
{
; CHECK-LABEL: three_fdiv_2xdouble:
; CHECK: fdiv
; CHECK-
NEXT-
NOT: fdiv
; CHECK: fdiv
v
; CHECK-NOT: fdiv
; CHECK: fmul
; CHECK: fmul
; CHECK: fmul
...
...
@@ -64,9 +64,9 @@ define void @three_fdiv_2xdouble(<2 x double> %D, <2 x double> %a, <2 x double>
; calculates a reciprocal.
define
void
@two_fdiv_float
(
float
%D
,
float
%a
,
float
%b
)
#0
{
; CHECK-LABEL: two_fdiv_float:
; CHECK: fdiv
; CHECK: fdiv
; CHECK-
NEXT-
NOT: fmul
; CHECK: fdiv
s
; CHECK: fdiv
s
; CHECK-NOT: fmul
%div
=
fdiv
float
%a
,
%D
%div1
=
fdiv
float
%b
,
%D
tail
call
void
@foo_2f
(
float
%div
,
float
%div1
)
...
...
@@ -75,9 +75,9 @@ define void @two_fdiv_float(float %D, float %a, float %b) #0 {
define
void
@two_fdiv_double
(
double
%D
,
double
%a
,
double
%b
)
#0
{
; CHECK-LABEL: two_fdiv_double:
; CHECK: fdiv
; CHECK: fdiv
; CHECK-
NEXT-
NOT: fmul
; CHECK: fdiv
d
; CHECK: fdiv
d
; CHECK-NOT: fmul
%div
=
fdiv
double
%a
,
%D
%div1
=
fdiv
double
%b
,
%D
tail
call
void
@foo_2d
(
double
%div
,
double
%div1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment