[all-commits] [llvm/llvm-project] 86973b: PeepholeOpt: Stop allocating tiny helper classes
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Jan 22 04:27:49 PST 2025
Branch: refs/heads/users/arsenm/peephole-opt-avoid-allocating-small-helper-structs
Home: https://github.com/llvm/llvm-project
Commit: 86973bb3b4aa7bfccccb0d4c3a3bf03e18dbf8fe
https://github.com/llvm/llvm-project/commit/86973bb3b4aa7bfccccb0d4c3a3bf03e18dbf8fe
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-01-22 (Wed, 22 Jan 2025)
Changed paths:
M llvm/lib/CodeGen/PeepholeOptimizer.cpp
Log Message:
-----------
PeepholeOpt: Stop allocating tiny helper classes
This was allocating tiny helper classes for every instruction
visited. We can just dispatch over the cases in the visitor
function instead.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list