[PATCH] D109528: [AArch64][GlobalISel] Add a new reassociation for G_PTR_ADDs.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 9 10:18:20 PDT 2021
aemerson created this revision.
aemerson added reviewers: paquette, arsenm, foad.
aemerson added a project: LLVM.
Herald added subscribers: kerbowa, hiraditya, kristof.beyls, rovka, nhaehnle, jvesely.
aemerson requested review of this revision.
Herald added a subscriber: wdng.
G_PTR_ADD (G_PTR_ADD X, C), Y) -> (G_PTR_ADD (G_PTR_ADD(X, Y), C)
Improves CTMark -Os on AArch64:
Program before after diff
sqlite3 286932 287024 0.0%
kc 432512 432508 -0.0%
SPASS 412788 412764 -0.0%
pairlocalalign 249460 249416 -0.0%
bullet 475740 475512 -0.0%
7zip-benchmark 568864 568356 -0.1%
consumer-typeset 419088 418648 -0.1%
tramp3d-v4 367628 367224 -0.1%
clamscan 383184 382732 -0.1%
lencod 430028 429284 -0.2%
Geomean difference -0.1%
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109528
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AArch64/GlobalISel/combine-ptradd-reassociation.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/hip.extern.shared.array.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109528.371645.patch
Type: text/x-patch
Size: 19423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/e2712bd1/attachment.bin>
More information about the llvm-commits
mailing list