diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-06-07 18:57:03 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-06-08 14:44:24 -0400 |
commit | 31a9659de550b25b6bc0ad5cab73d133095c351f (patch) | |
tree | 179c7fddfd098275e823e2130f4af76edae682ce /llvm/lib/Support/TargetParser.cpp | |
parent | 2927d40f044650e787985235a1d3d76db345cf87 (diff) | |
download | llvm-31a9659de550b25b6bc0ad5cab73d133095c351f.zip llvm-31a9659de550b25b6bc0ad5cab73d133095c351f.tar.gz llvm-31a9659de550b25b6bc0ad5cab73d133095c351f.tar.bz2 |
GlobalISel: Avoid use of G_INSERT in insertParts
G_INSERT legalization is incomplete and doesn't work very
well. Instead try to use sequences of G_MERGE_VALUES/G_UNMERGE_VALUES
padding with undef values (although this can get pretty large).
For the case of load/store narrowing, this is still performing the
load/stores in irregularly sized pieces. It might be cleaner to split
this down into equal sized pieces, and rely on load/store merging to
optimize it.
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions