[PATCH] D81863: [gicombiner] Allow generated combiners to store additional members
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 12:08:49 PDT 2020
dsanders created this revision.
dsanders added reviewers: aditya_nandakumar, bogner, volkan, aemerson, paquette, arsenm.
Herald added subscribers: kerbowa, hiraditya, kristof.beyls, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.
Adds the ability to add members to a generated combiner via
a State base class. In the current AArch64PreLegalizerCombiner
this is used to make Helper available without having to
provide it to every call.
As part of this, split the command line processing into a
separate object so that it still only runs once even though
the generated combiner is constructed more frequently.
Depends on D81862 <https://reviews.llvm.org/D81862>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81863
Files:
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/Target/AArch64/AArch64Combine.td
llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
llvm/utils/TableGen/GICombinerEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81863.270819.patch
Type: text/x-patch
Size: 11403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200615/64505104/attachment.bin>
More information about the llvm-commits
mailing list