Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MLIR 18 #79

Merged
merged 12 commits into from
Jul 21, 2024
Merged

Add support for MLIR 18 #79

merged 12 commits into from
Jul 21, 2024

Conversation

mofeing
Copy link
Member

@mofeing mofeing commented Jul 21, 2024

No description provided.

Comment on lines 716 to 729
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]),
)
push!(attributes, operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]))

Comment on lines 855 to 868
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]),
)
push!(attributes, operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]))

push!(
attributes,
operandsegmentsizes([
length(dynamic_sizes), if (copy == nothing)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
length(dynamic_sizes), if (copy == nothing)
length(dynamic_sizes),
if (copy == nothing)

0
else
1
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
end
end,

Comment on lines 890 to 903
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]),
)
push!(attributes, operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1
end,
]))

0
else
1
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
end
end,

Comment on lines 296 to 313
push!(
attributes,
operandsegmentsizes([
if (lowerbound == nothing)
0
elseif 1(upperbound == nothing)
0
elseif 1(extent == nothing)
0
elseif 1(stride == nothing)
0
elseif 1(startIdx == nothing)
0
else
1
end,
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (lowerbound == nothing)
0
elseif 1(upperbound == nothing)
0
elseif 1(extent == nothing)
0
elseif 1(stride == nothing)
0
elseif 1(startIdx == nothing)
0
else
1
end,
]),
)
push!(attributes, operandsegmentsizes([
if (lowerbound == nothing)
0
elseif 1(upperbound == nothing)
0
elseif 1(extent == nothing)
0
elseif 1(stride == nothing)
0
elseif 1(startIdx == nothing)
0
else
1
end,
]))

Comment on lines 897 to 910
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1length(map_operands)
end,
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1length(map_operands)
end,
]),
)
push!(attributes, operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
elseif 1(thread_limit == nothing)
0
else
1length(map_operands)
end,
]))

Comment on lines 1040 to 1051
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
else
1length(map_operands)
end
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
else
1length(map_operands)
end
]),
)
push!(attributes, operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
else
1length(map_operands)
end,
]))

Comment on lines 1105 to 1116
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
else
1length(map_operands)
end
]),
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
push!(
attributes,
operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
else
1length(map_operands)
end
]),
)
push!(attributes, operandsegmentsizes([
if (if_expr == nothing)
0
elseif 1(device == nothing)
0
else
1length(map_operands)
end,
]))

@mofeing mofeing merged commit 04ed89c into main Jul 21, 2024
7 checks passed
@mofeing mofeing deleted the mlir-18 branch July 21, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant