← Back to events
ActiveAIRelease

trunk/41226661c72236301fcbf27bce2c6c06d7584af3: [inductor] Don't swing a realized buffer in mutate_to (#198549)

What happened

Fixes #198533 Fixes #198033 mutate_to 's fast path replaces the data of the mutated StorageBox with the new value. A realized StorageBox may already be referenced by name: by a ReinterpretView, whose loader looks the name up only when it runs, or by an extern kernel's inputs. Everything lowered before the mutation through those references then reads the new value, including the new value itself. With y = x + x.sum(-…

Summary assembled by rule from the sources below

Why it's spreading

Sources