[PATCH] D16404: [X86] Use hash table in LEA optimization pass
Andrey Turetskiy via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 06:18:31 PST 2016
aturetsk created this revision.
aturetsk added reviewers: qcolombet, dberlin.
aturetsk added a subscriber: llvm-commits.
Use hash table (key is a memory operand) to store found LEA instructions to reduce compile time.
Also enable the pass back by default.
http://reviews.llvm.org/D16404
Files:
lib/Target/X86/X86OptimizeLEAs.cpp
test/CodeGen/X86/lea-opt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16404.45519.patch
Type: text/x-patch
Size: 21023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160121/5fee46db/attachment.bin>
More information about the llvm-commits
mailing list