Very minor code size improvements (hits 8 times in Bullet at -O3), but still something.
Also very minor NFC change to make sure we only search for a 0 constant when selecting a store. Before, we'd do this for loads as well.
Paths
| Differential D84573
[AArch64][GlobalISel] Look through constants when selection stores of 0 ClosedPublic Authored by paquette on Jul 24 2020, 6:19 PM.
Details Summary Very minor code size improvements (hits 8 times in Bullet at -O3), but still something. Also very minor NFC change to make sure we only search for a 0 constant when selecting a store. Before, we'd do this for loads as well.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 24 2020, 10:36 PM Closed by commit rG604e33e83a55: [AArch64][GlobalISel] Look through constants when selection stores of 0 (authored by paquette). · Explain WhyJul 24 2020, 10:46 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 280661 llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-store.mir
|