diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-11-03 12:27:52 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-11-03 12:27:52 +0000 |
commit | 91e8f3c348de1292a5085509f9efd14d29d23ce9 (patch) | |
tree | 086d3a2dcdf515fb9643462422a82ac36602db31 /llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h | |
parent | 120f4a06fd41f0b07fd84fb570fcc5fd3b030dc5 (diff) | |
download | llvm-91e8f3c348de1292a5085509f9efd14d29d23ce9.zip llvm-91e8f3c348de1292a5085509f9efd14d29d23ce9.tar.gz llvm-91e8f3c348de1292a5085509f9efd14d29d23ce9.tar.bz2 |
SLPVectorizer: When CSEing generated gathers only scan blocks containing them.
Instead of doing a RPO traversal of the whole function remember the blocks
containing gathers (typically <= 2) and scan them in dominator-first order.
The actual CSE is still quadratic, but I'm not confident that adding a
scoped hash table here is worth it as we're only looking at the generated
instructions and not arbitrary code.
llvm-svn: 193956
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h')
0 files changed, 0 insertions, 0 deletions