diff --git a/enzyme/Enzyme/EnzymeLogic.cpp b/enzyme/Enzyme/EnzymeLogic.cpp index 10dcebe48a5..d6707e0592e 100644 --- a/enzyme/Enzyme/EnzymeLogic.cpp +++ b/enzyme/Enzyme/EnzymeLogic.cpp @@ -270,7 +270,7 @@ struct CacheAnalysis { return false; } - if (hasMetadata(&li, "enzyme_force_recompute")) + if (hasNoCache(&li)) return false; if (EnzymeJuliaAddrLoad)