summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
diff options
context:
space:
mode:
authorRoman Tereshin <rtereshin@apple.com>2018-05-22 16:54:27 +0000
committerRoman Tereshin <rtereshin@apple.com>2018-05-22 16:54:27 +0000
commit7701360308067676a2e5500b4c9470c6caac7dcb (patch)
tree4b1f274af2d33dad6fbc6a16d2153b714a493f8d /llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
parentdad5d6f3474061e99f3f78085f1f55e4ca7f701e (diff)
downloadbcm5719-llvm-7701360308067676a2e5500b4c9470c6caac7dcb.tar.gz
bcm5719-llvm-7701360308067676a2e5500b4c9470c6caac7dcb.zip
[GlobalISel][InstructionSelect] Sorting MatchTable's first level by opcodes and num operands, perf patch 3
This patch continues a series of patches started by r332907 (reapplied as r332917) In this commit we start sorting the rules by the opcode first, and if the same, by the number of operands of the root instructions. This allows better grouping and safe as patterns with different opcodes are mutually exclusive. This is expected to decrease time GlobalISel spends in its InstructionSelect pass by roughly 18% for an -O0 build as measured on sqlite3-amalgamation (http://sqlite.org/download.html) targeting AArch64. I'm also removing RuleMatcher::getFirstConditionAsRootType() function here and moving it to a later patch within the series as it's not used yet and was causing a warning on sanitizer-ppc64le-linux bot. 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: 333001
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud