[all-commits] [llvm/llvm-project] 1b37e8: [VPlan] use getVPValueOrAddLiveIn in VPlan::duplic...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Jan 28 04:39:59 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b37e8087e1e1ecf5aadd8da536ee17dc21832e2
https://github.com/llvm/llvm-project/commit/1b37e8087e1e1ecf5aadd8da536ee17dc21832e2
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-01-28 (Sun, 28 Jan 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[VPlan] use getVPValueOrAddLiveIn in VPlan::duplicate.
Instead of creating live-ins manually, use getOrAddLiveIn which
automatically takes care of adding them to VPLiveInsToFree. Also use it
to create the VPValue for the trip-count. This fixes a leak:
https://lab.llvm.org/buildbot/#/builders/168/builds/18308/steps/10/logs/stdio
More information about the All-commits
mailing list