[PATCH] D46809: [GlobalISel] NFCI, Getting GlobalISel ~5% faster

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 13 12:12:47 PDT 2018


rtereshin created this revision.
rtereshin added reviewers: qcolombet, t.p.northover, ab.
Herald added subscribers: llvm-commits, kristof.beyls, rovka.
Herald added a reviewer: javed.absar.

by replacing DenseMap with IndexedMap for LLTs within MRI, as
benchmarked by cross-compiling sqlite3 amalgamation for AArch64
on x86 machine.

Per-pass diffs follow:

IRTranslator: +0.1%
Legalizer: -4.5%
RegBankSelect: -4.4%
Localizer: -2.5%
InstructionSelect: -8.8%

Total GlobalISel: -5.5%

More data below:

F6185428: Screen Shot 2018-05-13 at 12.17.22 AM.png <https://reviews.llvm.org/F6185428>
F6185433: Screen Shot 2018-05-13 at 12.17.46 AM.png <https://reviews.llvm.org/F6185433>


Repository:
  rL LLVM

https://reviews.llvm.org/D46809

Files:
  include/llvm/CodeGen/MachineRegisterInfo.h
  lib/CodeGen/GlobalISel/InstructionSelect.cpp
  lib/CodeGen/MachineRegisterInfo.cpp
  lib/CodeGen/ResetMachineFunctionPass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46809.146519.patch
Type: text/x-patch
Size: 6614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180513/ef3f9a44/attachment.bin>


More information about the llvm-commits mailing list