Skip to content

Commit

Permalink
Update src/api.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Jun 6, 2024
1 parent d028cd1 commit 13a15e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct CFnTypeInfo
end


@static isdefined(LLVM, InstructionMetadataDict)
@static if isdefined(LLVM, InstructionMetadataDict)
Base.haskey(md::LLVM.InstructionMetadataDict, kind::String) =
ccall((:EnzymeGetStringMD, libEnzyme), Cvoid, (LLVM.API.LLVMValueRef, Cstring), md.inst, kind) != C_NULL

Expand Down

0 comments on commit 13a15e7

Please sign in to comment.