File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ http_archive(
99 urls = ["https://github.com/wsmoses/nsync/archive/{commit}.tar.gz" .format (commit = NSYNC_COMMIT )],
1010)
1111
12- ENZYMEXLA_COMMIT = "1b473e8e77850ece61bb0e85b152b95cb6a70be0 "
12+ ENZYMEXLA_COMMIT = "1d9cab766d5c35646da956a3b32aff9d61315f90 "
1313ENZYMEXLA_SHA256 = ""
1414
1515http_archive (
@@ -95,7 +95,7 @@ LLVM_TARGETS = select({
9595}) + ["AArch64" , "X86" , "ARM" ]
9696
9797# Uncomment these lines to use a custom LLVM commit
98- LLVM_COMMIT = "9b4bf06be33f0fe6a4c487bb9244d8c0f6acab3f "
98+ LLVM_COMMIT = "b39c5cb6977f35ad727d86b2dd6232099734ffd3 "
9999LLVM_SHA256 = ""
100100http_archive (
101101 name = "llvm-raw" ,
Original file line number Diff line number Diff line change @@ -576,6 +576,20 @@ Reactant.@reactant_overlay @noinline function (func::LLVMFunc{F,tt})(
576576 push! (restys, MLIR. IR. type (arg))
577577 push! (mlir_args, arg)
578578
579+ push! (
580+ aliases,
581+ MLIR. IR. Attribute (
582+ MLIR. API. stablehloOutputOperandAliasGet (
583+ MLIR. IR. context (),
584+ length (wrapper_tys) == 1 ? 0 : 1 ,
585+ length (wrapper_tys) == 1 ? C_NULL : Ref {Int64} (argidx - 1 ),
586+ argidx - 1 ,
587+ 0 ,
588+ C_NULL ,
589+ ),
590+ ),
591+ )
592+
579593 for p in paths
580594 if p[1 ] != = kernelargsym
581595 continue
@@ -600,20 +614,6 @@ Reactant.@reactant_overlay @noinline function (func::LLVMFunc{F,tt})(
600614 )
601615 MLIR. Dialects. llvm. store (MLIR. IR. argument (wrapbody, argidx), ptr)
602616 end
603-
604- push! (
605- aliases,
606- MLIR. IR. Attribute (
607- MLIR. API. stablehloOutputOperandAliasGet (
608- MLIR. IR. context (),
609- length (wrapper_tys) == 1 ? 0 : 1 ,
610- length (wrapper_tys) == 1 ? C_NULL : Ref {Int64} (argidx - 1 ),
611- argidx - 1 ,
612- 0 ,
613- C_NULL ,
614- ),
615- ),
616- )
617617 end
618618 argidx += 1
619619 end
You can’t perform that action at this time.
0 commit comments