diff options
author | Craig Topper <craig.topper@intel.com> | 2017-11-16 20:23:22 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-11-16 20:23:22 +0000 |
commit | e85ff4f732627c664778a3d07adbb8106769d92d (patch) | |
tree | 1750984fddefe22fbd2349e1eb30aa96ce580de1 /llvm/lib/CodeGen/LiveRangeShrink.cpp | |
parent | 04be793cecd837599243bc9439357529d8bea2ae (diff) | |
download | bcm5719-llvm-e85ff4f732627c664778a3d07adbb8106769d92d.tar.gz bcm5719-llvm-e85ff4f732627c664778a3d07adbb8106769d92d.zip |
[X86] Pre-truncate gather/scatter indices that have element sizes larger than 64-bits before Legalize.
The wider element type will normally cause legalize to try to split and scalarize the gather/scatter, but we can't handle that. Instead, truncate the index early so the gather/scatter node is insulated from the legalization.
This really shouldn't happen in practice since InstCombine will normalize index types to the same size as pointers.
llvm-svn: 318452
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeShrink.cpp')
0 files changed, 0 insertions, 0 deletions