OSDN Git Service

[X86] Use hash table in LEA optimization pass.
authorAndrey Turetskiy <andrey.turetskiy@gmail.com>
Thu, 4 Feb 2016 08:57:03 +0000 (08:57 +0000)
committerAndrey Turetskiy <andrey.turetskiy@gmail.com>
Thu, 4 Feb 2016 08:57:03 +0000 (08:57 +0000)
commitbe1b2fc15996883dc3c24c48ff6e05228e6ff7b4
treec906490144142c7817b58ad82cec3816ea03c41f
parent125c5460fda0735a795012f1fa2ee711315bf03d
[X86] Use hash table in LEA optimization pass.

Use hash table (key is a memory operand) to store found LEA instructions to reduce compile time.

Differential Revision: http://reviews.llvm.org/D16404

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259770 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86OptimizeLEAs.cpp