summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/DWARFEmitter.cpp
diff options
context:
space:
mode:
authorRoman Tereshin <rtereshin@apple.com>2018-05-22 04:31:50 +0000
committerRoman Tereshin <rtereshin@apple.com>2018-05-22 04:31:50 +0000
commit19da66759944f2a3d2b7142e76a409c68d4c87fd (patch)
tree5deec36cf54121bd145150fd4206a9a03ba1dcaf /llvm/lib/ObjectYAML/DWARFEmitter.cpp
parent4ca5af07210abb546bd14c8a6a62fe7ec0401382 (diff)
downloadbcm5719-llvm-19da66759944f2a3d2b7142e76a409c68d4c87fd.tar.gz
bcm5719-llvm-19da66759944f2a3d2b7142e76a409c68d4c87fd.zip
[GlobalISel][InstructionSelect] Removing redundant num operands and nested def operands checks, perf patch 2
This patch continues a series of patches that decrease time spent by GlobalISel in its InstructionSelect pass by roughly 60% for -O0 builds for large inputs as measured on sqlite3-amalgamation (http://sqlite.org/download.html) targeting AArch64. This commit specifically removes number of operands checks that are redundant if the instruction's opcode already guarantees that number of operands (or more), and also avoids any kind of checks on a def operand of a nested instruction as everything about it was already checked at its use. The expected performance implication is about 3% off InstructionSelect comparing to the baseline (before the series of patches) This patch also contains a bit of NFC changes required for further patches in the series. Every commit planned shares the same Phabricator Review. Reviewers: qcolombet, dsanders, bogner, aemerson, javed.absar Reviewed By: qcolombet Subscribers: rovka, llvm-commits, kristof.beyls Differential Revision: https://reviews.llvm.org/D44700 llvm-svn: 332945
Diffstat (limited to 'llvm/lib/ObjectYAML/DWARFEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud