[all-commits] [llvm/llvm-project] af36fb: [ARM] Remove static variables from ARMLowOverheadL...
David Green via All-commits
all-commits at lists.llvm.org
Mon May 27 23:49:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af36fb00e32e43101b68b142cfc938af68ad5ffe
https://github.com/llvm/llvm-project/commit/af36fb00e32e43101b68b142cfc938af68ad5ffe
Author: David Green <david.green at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Log Message:
-----------
[ARM] Remove static variables from ARMLowOverheadLoops. NFC
VPTState was holding static state, and acting as both the info in a VPTBlock
and the overall state of all the blocks in the loop. This has been split up
into a class (VPTBlock) to hold the instructions of one block, and VPTState
that holds the overall state. The PredicatedInsts is also made into a
map<MachineInstr *, SetVector<MachineInstr *>>, as the double-storing of MI
inside a unique pointer is unneeded.
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