Skip to content

Commit 696e176

Browse files
Format code (#665)
Co-authored-by: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com>
1 parent 4883486 commit 696e176

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/Compiler.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,12 +1031,8 @@ function compile_xla(f, args; client=nothing, optimize=true, no_nan=false, devic
10311031
end
10321032
end
10331033

1034-
10351034
# compile MLIR module to XLA executable
1036-
exec = XLA.Compile(
1037-
client,
1038-
mod
1039-
)
1035+
exec = XLA.Compile(client, mod)
10401036
(
10411037
exec,
10421038
linear_args,

src/XLA.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,7 @@ end
561561
end
562562
end
563563

564-
function Compile(
565-
client::Client,
566-
mod::MLIR.IR.Module
567-
)
564+
function Compile(client::Client, mod::MLIR.IR.Module)
568565
max_local_id = length(client.global_ordinals)
569566
GC.@preserve client mod begin
570567
executable = LoadedExecutable(

0 commit comments

Comments
 (0)