Allow custom rule for constant arg/ret in rev mode #66
Annotations
1 error and 4 warnings
Run reviewdog/action-suggester@v1
Process completed with exit code 1.
|
Run reviewdog/action-suggester@v1:
src/rules/customrules.jl#L50
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/rules/customrules.jl:50:- if Core.Compiler.isconstType(arg.typ) && !Core.Compiler.isconstType(Const{arg.typ})
src/rules/customrules.jl:51:- llty = convert(LLVMType, Const{arg.typ})
src/rules/customrules.jl:52:- al0 = al = emit_allocobj!(B, Const{arg.typ})
src/rules/customrules.jl:53:- al = bitcast!(B, al, LLVM.PointerType(llty, addrspace(value_type(al))))
src/rules/customrules.jl:54:- al = addrspacecast!(B, al, LLVM.PointerType(llty, Derived))
src/rules/customrules.jl:55:-
src/rules/customrules.jl:56:- ptr = inbounds_gep!(B, llty, al, [LLVM.ConstantInt(LLVM.IntType(64), 0), LLVM.ConstantInt(LLVM.IntType(32), 0)])
src/rules/customrules.jl:57:- val = unsafe_to_llvm(arg.typ.parameters[1])
src/rules/customrules.jl:58:- store!(B, val, ptr)
src/rules/customrules.jl:59:-
src/rules/customrules.jl:60:- if any_jltypes(llty)
src/rules/customrules.jl:61:- emit_writebarrier!(B, get_julia_inner_types(B, al0, val))
src/rules/customrules.jl:53:+ if Core.Compiler.isconstType(arg.typ) &&
src/rules/customrules.jl:54:+ !Core.Compiler.isconstType(Const{arg.typ})
src/rules/customrules.jl:55:+ llty = convert(LLVMType, Const{arg.typ})
src/rules/customrules.jl:56:+ al0 = al = emit_allocobj!(B, Const{arg.typ})
src/rules/customrules.jl:57:+ al = bitcast!(B, al, LLVM.PointerType(llty, addrspace(value_type(al))))
src/rules/customrules.jl:58:+ al = addrspacecast!(B, al, LLVM.PointerType(llty, Derived))
src/rules/customrules.jl:59:+
src/rules/customrules.jl:60:+ ptr = inbounds_gep!(B, llty, al,
src/rules/customrules.jl:61:+ [LLVM.ConstantInt(LLVM.IntType(64), 0),
src/rules/customrules.jl:62:+ LLVM.ConstantInt(LLVM.IntType(32), 0)])
src/rules/customrules.jl:63:+ val = unsafe_to_llvm(arg.typ.parameters[1])
src/rules/customrules.jl:64:+ store!(B, val, ptr)
src/rules/customrules.jl:65:+
src/rules/customrules.jl:66:+ if any_jltypes(llty)
src/rules/customrules.jl:67:+ emit_writebarrier!(B, get_julia_inner_types(B, al0, val))
src/rules/customrules.jl:68:+ end
src/rules/customrules.jl:69:+ push!(args, al)
src/rules/customrules.jl:70:+ else
src/rules/customrules.jl:71:+ @Assert isghostty(Const{arg.typ}) ||
src/rules/customrules.jl:72:+ Core.Compiler.isconstType(Const{arg.typ})
|
Run reviewdog/action-suggester@v1:
src/rules/customrules.jl#L63
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/rules/customrules.jl:63:- push!(args, al)
src/rules/customrules.jl:64:- else
src/rules/customrules.jl:65:- @Assert isghostty(Const{arg.typ}) || Core.Compiler.isconstType(Const{arg.typ})
src/rules/customrules.jl:66:- end
|
Run reviewdog/action-suggester@v1:
src/rules/customrules.jl#L502
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/rules/customrules.jl:502:- C = EnzymeRules.Config{Bool(needsPrimal), Bool(needsShadowJL), Int(width), overwritten}
src/rules/customrules.jl:503:-
src/rules/customrules.jl:550:+ C = EnzymeRules.Config{Bool(needsPrimal),Bool(needsShadowJL),Int(width),overwritten}
src/rules/customrules.jl:551:+
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading