History log of /llvm-project/llvm/lib/Target/RISCV/GISel/RISCVO0PreLegalizerCombiner.cpp (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7
# ee7ca0dd 20-Dec-2024 Paul Bowen-Huggett <paulhuggett@mac.com>

Make CombinerHelper methods const (#119529)

There are a number of backends (specifically AArch64, AMDGPU, Mips, and
RISCV) which contain a “TODO: make CombinerHelper methods const”
comment. This P

Make CombinerHelper methods const (#119529)

There are a number of backends (specifically AArch64, AMDGPU, Mips, and
RISCV) which contain a “TODO: make CombinerHelper methods const”
comment. This PR does just that and makes all of the CombinerHelper
methods const, removes the TODO comments and makes the associated
instances const. This change makes some sense because the CombinerHelper
class simply modifies the state of _other_ objects to which it holds
pointers or references.

Note that AMDGPU contains an identical comment for an instance of
AMDGPUCombinerHelper (a subclass of CombinerHelper). I deliberately
haven’t modified the methods of that class in order to limit the scope
of the change. I’m happy to do so either now or as a follow-up.

show more ...


Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4
# 4bd6e15a 12-Nov-2024 Craig Topper <craig.topper@sifive.com>

[RISCV][GISel] Sync MaxIterations/ObserverLvl/EnableFullDCE for PreLegalizer combiners with AArch64.


# 82d5dd28 12-Nov-2024 Kazu Hirata <kazu@google.com>

[RISCV] Remove unused includes (NFC) (#115814)

Identified with misc-include-cleaner.


Revision tags: llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2
# 8e87dc10 22-Sep-2023 Craig Topper <craig.topper@sifive.com>

[RISCV][GISel] Add a post legalizer combiner and enable a couple comb… (#67053)

…ines.

We have an existing test that shows benefit from redundant_and and
identity combines so use them as a start

[RISCV][GISel] Add a post legalizer combiner and enable a couple comb… (#67053)

…ines.

We have an existing test that shows benefit from redundant_and and
identity combines so use them as a starting point.

show more ...


Revision tags: llvmorg-17.0.1, llvmorg-17.0.0
# 8677aaa1 07-Sep-2023 Craig Topper <craig.topper@sifive.com>

[RISCV][GISel] Add initial pre-legalizer combiners copying from AArch64.