OSDN Git Service

[GlobalISel] NFCI, Getting GlobalISel ~5% faster
authorRoman Tereshin <rtereshin@apple.com>
Wed, 23 May 2018 21:12:02 +0000 (21:12 +0000)
committerRoman Tereshin <rtereshin@apple.com>
Wed, 23 May 2018 21:12:02 +0000 (21:12 +0000)
commitcb64cbca1c4fd8fb438734cc14c43483f29837d3
treeb2fc36649ead5145122ee1c06182482711127eef
parentc349f81487944fa220abf4fdd185f71e07f8f957
[GlobalISel] NFCI, Getting GlobalISel ~5% faster

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

Reviewed By: qcolombet

Differential Revision: https://reviews.llvm.org/D46809

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333125 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
lib/CodeGen/GlobalISel/InstructionSelect.cpp
lib/CodeGen/MachineRegisterInfo.cpp
lib/CodeGen/ResetMachineFunctionPass.cpp