Skip to content

Commit 1ecd53c

Browse files
committed
Fix check for whether to emit vfmadd231pd.
1 parent 601aefe commit 1ecd53c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.7.4"
4+
version = "0.7.5"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"

src/lower_compute.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# A compute op needs to know the unrolling and tiling status of each of its parents.
21

32
function promote_to_231(op, u₁loop, u₂loop)
43
unrolleddeps = Symbol[]
54
loopdeps = loopdependencies(op)
65
u₁loop loopdeps && push!(unrolleddeps, u₁loop)
76
u₂loop loopdeps && push!(unrolleddeps, u₂loop)
8-
!any(opp -> isload(opp) && all(in(loopdeps), unrolleddeps), parents(op))
7+
!any(opp -> isload(opp) && all(in(loopdependencies(opp)), unrolleddeps), parents(op))
98
end
109

1110
struct FalseCollection end

0 commit comments

Comments
 (0)