v0.0.3112026-11-17
What's Changed
* [MLIR] Add complex log and log1p rule by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3889
* Adapt AttributorConfig::Allowed and GEP creation to LLVM 24 by @ftynse in https://github.com/EnzymeAD/Enzyme/pull/3894
* Record a vector index for a select reduction on a vector condition by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3892
* Keep the adjoint of loads from a global under global activity by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3891
* [MLIR] Generate C API constructors for every pass by @agarret7 in https://github.com/EnzymeAD/Enzyme/pull/3885
* Need the address operands of replayed stores in the reverse pass by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3890
* Know time queries not to return an allocation by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3882
[MLIR] Lower enzyme.fillzero in convert-enzyme-to-memref by @agarret7 in https://github.com/EnzymeAD/Enzyme/pull/3886
* [MLIR] Wire isCapture to enzyme::StoreLikeInterface. NFC by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3901
* Handle the field-aware Julia write barriers from julia#62737 by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3425
Drop opt/LLD plugins from the Enzymejll build by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3887
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.310...v0.0.311
v0.0.3102026-11-15
What's Changed
* Preserve barrier ID and thread count for NVVM CTA barrier adjoints by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3746
* [MLIR] Replace originalToNewFnOps with originalToNewFn by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3722
* Fix clang-format and LLVM 15/16 CI failures on main by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3749
ActivityAnalysis: treat jleqtable_get from an inactive table as inactive by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3752
MLIR: support enzyme.disableloopinvariantcache metadata attribute by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3755
* Use getCacheAlignment for loop-invariant cache stores and memcpys by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3754
* Fix reverse-mode freeze addingType and non-inbounds GEP index activity by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3761
* Add LLVM and MLIR coding standard skills and CI linters by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3547
* [MLIR] Add complex pow and powi rules by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3771
* Fix clang-format in GradientUtils.cpp by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3780
* Link Clang libraries into ClangEnzyme on Windows with LLVM dylib by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3727
* [MLIR] Make tblgen broadcast emission order compiler independent by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3786
* [CI] Make the MLIR clang-tidy step run under POSIX sh by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3790
* Root bundled clang plugin headers at an absolute path on Windows by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3787
* Pass the LLVMContext when querying inline params on LLVM 24 by @ftynse in https://github.com/EnzymeAD/Enzyme/pull/3800
* Do not assume a freed shadow allocation is an instruction by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3801
* Fix erfinv, tgamma and lgamma derivatives and add missing libm names by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3791
* Restore -Werror=unused-variable by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3802
* Emit inline matrix-scaling helper for CBLAS lascl when EnzymeLapackCopy is disabled by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3760
* Add CUDA/NVVM math derivatives and PreserveNVVM coverage for rsqrt, rcbrt, erfcx, erfcinv, normcdf, normcdfinv, fmin, copysign, and nvvm.fabs by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3807
* Fix ConstantExpr GEP recursion, loose memcpy fallback, and constant alloc indirect calls by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3811
* Cache whole allocations per iteration of their lifetime loop by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3810
* Support lvalue lambdas and Duplicated/Const-wrapped callables in C++ sugar by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3627
* Fix C++ sugar return tuples for non-Active arguments and void forward calls by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3626
* Type the CHARACTER arguments of the flang I/O runtime by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3367
* [MLIR] Register all passes in enzymeRegisterPasses by @agarret7 in https://github.com/EnzymeAD/Enzyme/pull/3879
* Derivatives of the LLVM flang runtime MOD and MODULO for reals by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3878
* Use the original GEP's source type when shadowing a constant GEP by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3877
* Keep the cache allocation when cacheForReverse removes its frees by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3374
* Add Metal AIR math mappings for sinpi, cospi, asinh, acosh, atanh, rsqrt, f16, and fast variants by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3866
* Keep Julia allocation zeroing bundles on shadow allocations by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3426
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.309...v0.0.310
v0.0.3092026-11-09
What's Changed
* Look through phis and selects in arePointersGuaranteedNoAlias by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3714
* Propagate the adjoint of an active atomicrmw fadd/fsub result by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3716
Lower Desul linear atomic fetchoper to atomicrmw before differentiation by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3717
Guard BinaryOperator::SDiv in knownIntegralValues against 0 and INT64MIN / -1 by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3721
* Fix clang-format in AdjointGenerator.h and CallDerivatives.cpp by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3723
* Use EmitWarningAlways when falling back to defaultTypeTreeForLLVM on active load/store by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3712
* Ignore assume, lifetime, noalias scope, and libm calls in ReadOnlyOrThrowDetector by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3724
* Ignore assume/lifetime/noalias intrinsics and check !anyPointer in overwritten-args analysis by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3725
* Add getModRefInfo helper checking base object and use in writesToMemoryReadBy by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3730
* Factor the atomicrmw rules into visitAtomicRMWLike by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3729
* Check AA.isNoAlias on base objects in areBaseObjectsGuaranteedNoAlias by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3731
* Avoid calling users() on ConstantData values by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3732
Lower unused Desul linear atomic fetchoper on complex values to per-component atomicrmw by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3718
* Extract MemoryLocation overload of writesToMemoryReadBy (NFC) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3739
* Fix null operand crashes in TypeAnalysis for atomicrmw or/xor by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3740
* Disambiguate base objects in MemoryLocation writesToMemoryReadBy and use in CacheAnalysis by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3728
* Fix LLVM 15 ModRefInfo build and JLInstSimplify AA.isNoAlias null cmp misfold by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3742
* Match existing OpenMP thread query return widths in GradientUtils by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3744
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.308...v0.0.309
v0.0.3082026-11-08
What's Changed
Run splitfromstackfwdshadow.ll with the opaque pointer loader by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3670
* Scope MLIR batch cache to pass runs and fix reverse cache key ordering by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3684
* Call nrm2 once in the reverse rule of nrm2 by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3689
* Report unsupported Enzyme diagnostics in Flang plugin on LLVM < 22 by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3692
* Match LLVM 15 and 16 allocation names in recent ReverseMode tests by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3671
Accept the ptxkernel calling convention in cudamathwindows_header.cu by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3696
* Add forward and reverse BLAS derivative rules for axpby by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3700
* Only bound GEP maxSize by result element type for multi-index GEPs (#3697) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3711
* Differentiate floating-point atomicrmw fmin/fmax via CAS helper by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3605
Handle ijlptrtoarray(_1d) and check data operand activity by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3708
* Clamp negative hoisted loop sublimits to zero in CacheUtility::getSubLimits by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3706
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.307...v0.0.308
v0.0.3072026-11-07
What's Changed
* Support llvm.threadlocal.address as a pointer identity on its global by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3585
* Check nested SCEV add-recurrences for loop dominance before subtraction by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3590
* Emit EmitNoDerivativeError for active AssertingInactiveArg operands in enzyme-tblgen by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3565
* [mlir] Use checked mul in the arith.divf rule by @Pangoraw in https://github.com/EnzymeAD/Enzyme/pull/3600
Recognize libc++ std::u ABI namespace alongside std::__1 by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3621
* Fix forward and reverse derivatives of complex mul/div builtins by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3557
* [mlir] Fix affine.for reverse rule when the same value is yielded twice by @Pangoraw in https://github.com/EnzymeAD/Enzyme/pull/3601
* Propagate TBAA metadata on atomicrmw and cmpxchg in type analysis by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3594
* Free superseded cache buffers during NVPTX exponential allocation by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3598
* Avoid squaring the divisor in forward-mode FDiv derivatives by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3620
Use %OPnewLoadEnzyme in libcxxu_namespace.ll for LLVM 16 compatibility by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3640
* Fix call operand index tracking for repeated pointer arguments in ActivityAnalysis by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3613
Skip the lli EVAL run of threadlocaladdress.ll on Darwin by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3642
* Use LICMOptions with unset caps for LICMPass on LLVM 24 by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3633
* Model AtomicCmpXchgInst in TypeAnalysis and ActivityAnalysis by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3593
* Accumulate CBLAS by-value scalar adjoints into the original argument (#2842) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3646
* Treat a pointer passed to a sret-writing call as stored when the sret is active (#2831) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3647
Fall back to tablegeninternal() for LLVM 24 by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3649
* Deduce floating-point types for atomicrmw fmax/fmin in TypeAnalysis by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3614
* Fold bitwise or/and/xor of known constants in knownIntegralValues (#3262) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3643
* CSCS CI on AMD MI300A: build against ROCm's LLVM and smoke-test HIP autodiff by @luraess in https://github.com/EnzymeAD/Enzyme/pull/3599
* Guard loop-PHI select and fdiv shortcuts against in-loop active uses by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3628
Add TypeAnalysis and function attributes for atomic_* libcalls by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3623
* Use ReverseModeGradient min-cut mode for allocation primalNeededInReverse by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3658
* [MLIR] Add complex exp and expm1 rules by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3664
* TypeAnalysis: refute PHI hypotheses that flow into a non-pointer dereference by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3648
* Keep clang's device math wrappers alive regardless of path style (#2775) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3661
Recognize mangled rustc allocator and runtime shims by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3659
* Thread the lane inserts when batching a call to a defined function (#3003) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3662
* Take the derivative of nrm2 to be zero at a zero vector (#2419) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3652
* [MLIR] Add complex sqrt and rsqrt diff rules by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3665
Treat julia.gcalloc_memory as a Julia memory allocation by @oscardssmith in https://github.com/EnzymeAD/Enzyme/pull/3645
* Bound reverse caches by a loop exit combining a convergence check with an iteration limit (#2871) by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3663
* Format the LLVM 22 snapshot detection by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3668
* Insert partial-float null shadow after unpopulated header PHIs by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3655
* Share the placeholder-aware PHI boundary across cache and shadow insertion by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3669
* Fold partially-float scalar and sequential constants in invertPointerM by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3597
New Contributors
* @luraess made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3599
* @oscardssmith made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3645
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.306...v0.0.307
v0.0.3062026-11-04
What's Changed
* [tblgen] Fix local Twine use-after-free in blas-tblgen by @ftynse in https://github.com/EnzymeAD/Enzyme/pull/3575
* Impulse: fix ill-typed warmup impulse.if with the default inverse mass by @sbrantq in https://github.com/EnzymeAD/Enzyme/pull/3556
* Lower each batch and truncation request once when a select target splits the scan by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3578
* Accept the errno TBAA tag Clang 20 attaches to libm calls by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3584
Keep a call-site noinline when lowering enzymeautodiff and enzyme_batch by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3583
Drop enzymemath when declaring a rule's companion function by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3581
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.305...v0.0.306
v0.0.3052026-11-04
What's Changed
* Require full store containment in simplifyLoad by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3550
* [MLIR] Add complex trignometric functions and tanh derivative rules by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3555
Improve TypeAnalysis and ActivityAnalysis for smul/umulwith_overflow by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3567
* Mark C99/C23 strtol variants and POSIX descriptor/topology calls inactive and nofree by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3564
* Differentiate floats packed into an integer (zext, shl, or) by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3463
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.304...v0.0.305
v0.0.3042026-11-03
What's Changed
* Build sumMIT against a pinned pyre commit by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3474
Fold a memref.cast into enzyme.atomicrmw and enzyme.affineatomicrmw by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3475
* [MLIR] Add derivative rules for math ops: trig, hyperbolic, exp/log, erf by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3396
* [MLIR] Add atan2 derivative by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3476
* [MLIR] Mark RoundOp, RoundEvenOp, TruncOp inactive by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3483
* Use LICM accessor functions with LLVM 24 by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3482
* [MLIR] Add derivative for math.fpowi by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3487
Allowlist libc++ basicstring::assignc_str in EnzymeLogic for upcoming Crosstool release by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3495
Build Enzymejll for LLVM 23 by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3502
* [MLIR ActivityAnalyzer] use a DenseSet for the visited uses of isValueInactiveFromUsers by @Pangoraw in https://github.com/EnzymeAD/Enzyme/pull/3509
* [Enzyme] Fix build after LLVM integrate: ListInit::getValues() was removed by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3510
* Replace linux-x86-n2-32 runner label with linux-x86-n4-32 by @quoctruong in https://github.com/EnzymeAD/Enzyme/pull/3511
Adapt to LLVM BasicBlock::getFirstNonPHIOrDbg rename by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3513
* Forward mode for LLVM flang runtime functions on descriptors by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3331
Pass a null LibraryOptionsContext to getLicmMssaCap with LLVM 24 by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3512
* [MLIR] Remove walk from root on every inserted op during op removal by @Pangoraw in https://github.com/EnzymeAD/Enzyme/pull/3508
* Keep flang runtime calls on inactive descriptors as they are by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3332
* [MLIR] Run reverse interface hooks for non readonly ops by @Pangoraw in https://github.com/EnzymeAD/Enzyme/pull/3518
* Pin cmakefmt to 2.3.0 and update formatting by @zelenevn in https://github.com/EnzymeAD/Enzyme/pull/3521
* [MLIR] Add derivtive for math.clampf by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3488
* Lower nested AD requests reachable through calls by @zelenevn in https://github.com/EnzymeAD/Enzyme/pull/3520
* [MLIR] Add LoadLike and AllocaLike interfaces by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3519
* [MLIR] Stop Storing value in shadow space if val is inactive by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3525
* Hand C API callbacks an LLVMBuilderRef LLVM 24 owns by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3531
* Finish the LLVM 24 port of the C callback builders and PassBuilder by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3532
* [MLIR] Share ConcreteType with MLIR as GenericConcreteType by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3535
* [MLIR] Share TypeTree with MLIR as GenericTypeTree by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3536
* Add derivative for arith.minnumf by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3496
* Clear readonly/writeonly before marking type-hint pointers readnone by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3540
* [MLIR] Read the type tree limits from LLVM's option registry by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3541
* [mlir] refined is fully inactive check to consider only active memory by @Pangoraw in https://github.com/EnzymeAD/Enzyme/pull/3539
* Activity: a value loaded through a loaded pointer is not a self-store by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3542
* [MLIR] Add CheckedComplexMul and CheckedComplexDiv by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3528
* Fix self-referencing PHI when lowering AD calls through select by @zelenevn in https://github.com/EnzymeAD/Enzyme/pull/3527
* [MLIR] Broadcast primal operands to vector width only where they meet a batched value by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3546
* [MLIR] Add C API for Enzyme dialect (MLIRCAPIEnzyme) by @agarret7 in https://github.com/EnzymeAD/Enzyme/pull/2859
* Type a copy from a flang character literal as integer by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3372
* cacheForReverse: don't cache an argument, rebuild it in the reverse by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3206
Reject enzymeout on a pointer argument with a clear error by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3549
New Contributors
* @quoctruong made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3511
* @zelenevn made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3521
* @agarret7 made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/2859
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.303...v0.0.304
v0.0.3032026-10-11
What's Changed
* Add OffsetViewInterface by @vimarsh6739 in https://github.com/EnzymeAD/Enzyme/pull/3420
Build Enzymejll for LLVM 22 by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3423
Add Fortran forward test for MPIIsend, MPIIrecv, and MPIWait by @joewallwork in https://github.com/EnzymeAD/Enzyme/pull/3419
* Cache values in flang's OpenMP worksharing loops by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3387
* Defer differentiation from an LTO pre-link pipeline to the post-link run by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3211
* [MLIR] Preserve constant captures when outlining AD regions by @vimarsh6739 in https://github.com/EnzymeAD/Enzyme/pull/3424
* [MLIR] Fix captures and memory checks in AD hoisting by @vimarsh6739 in https://github.com/EnzymeAD/Enzyme/pull/3431
Split LLVMDEFINITIONS before add_definitions by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3427
* Revert "[MLIR] Preserve constant captures when outlining AD regions" by @vimarsh6739 in https://github.com/EnzymeAD/Enzyme/pull/3433
* Revert "[MLIR] Fix captures and memory checks in AD hoisting" by @vimarsh6739 in https://github.com/EnzymeAD/Enzyme/pull/3434
* Answer whether the augmented pass used a primal from the augmented pass by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3442
* Know flang's time, command line and environment queries to be inactive by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3333
* Walk L, not anc, in overwritesToMemoryReadByLoop's ancestor gates by @ZuseZ4 in https://github.com/EnzymeAD/Enzyme/pull/3447
Relax CHECK-NEXT in ltoprelink_rule.c for clang builds that keep val… by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3450
* Fix the sign of AndLinearShift when the shared operand comes first by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3284
* TypeAnalysis: tan, asin, acos, atan, atan2 and sincos intrinsics by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3385
* Fix the value of pi in the sincn, sincospi, sinpi and cospi rules by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3274
* Fix "occured" typo in activity analysis comments by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3454
* Install a flang config file that loads Enzyme for compile and LTO link by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3435
* Mark OpenMP runtime calls as not freeing or returning allocations by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3392
* Handle trivial aggregates in the calling convention fixup by @kshyatt in https://github.com/EnzymeAD/Enzyme/pull/3456
* Fix a few comment typos in ActivityAnalysis and MustExitScalarEvolution by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3458
Install enzymefunction_hooks.mod with the Fortran bindings by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3328
* [MLIR] Add FunctionReturnOpInterface by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3461
Fix Enzyme demangled prefix match for libc++ basicstring::assignno_alias by @copybara-service[bot] in https://github.com/EnzymeAD/Enzyme/pull/3457
* [MLIR] Multiple return values packing in createTerminator by @aokblast in https://github.com/EnzymeAD/Enzyme/pull/3466
* Replace the local read-only-or-throw attribute when upgrading to full by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3469
* Re-check a function once the callees it waited on are read only or throw by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3472
* MLIR: derivatives of math.tanh and math.cbrt by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3471
* NFC: make the read-only-or-throw check of a function a class by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3473
* Make callers of local read-only-or-throw callees local when memory can flow back by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3445
* [MLIR] Add mlir tablegen multiresult forword mode support by @Antipath1 in https://github.com/EnzymeAD/Enzyme/pull/3465
* Do not over-align vector accesses in addToInvertedPtrDiffe by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3446
New Contributors
* @copybara-service[bot] made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3454
* @kshyatt made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3456
* @Antipath1 made their first contribution in https://github.com/EnzymeAD/Enzyme/pull/3465
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.302...v0.0.303
v0.0.3022026-10-05
What's Changed
* Shadow of a constant GEP of a global at width > 1 by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3369
* Derive SCEV's wrap-flag type from a flag constant by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3362
* Type the results of lround, lrint and fptosi.sat as integers by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3384
* Keep the augmented call when it returns an empty tape directly by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3376
* Document Fortran custom derivative registration by @isaacaka in https://github.com/EnzymeAD/Enzyme/pull/3318
* Migrate the MLIR dialects to strict property assembly, and move CI to 018a9e4a by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3411
* [MLIR] Add an offset-preserving mode to getBaseObject by @vimarsh6739 in https://github.com/EnzymeAD/Enzyme/pull/3412
* TypeTree::allFloat: handle Anything at offset 0 with anythingIsFloat by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3410
* Do not treat read-only-or-throw calls as overwriting callee data by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3415
* Treat >= loop exits as signed when the predicate is sge by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3406
* Treat writes to the data of a fresh Julia Memory or array as local by @wsmoses in https://github.com/EnzymeAD/Enzyme/pull/3418
* Bound the size of NoType error messages by @vchuravy in https://github.com/EnzymeAD/Enzyme/pull/3413
Full Changelog: https://github.com/EnzymeAD/Enzyme/compare/v0.0.301...v0.0.302