Avoid splitting narrow loads into smaller byte-sized ones as elements straddling two words may get incorrectly extracted.
The code is still completely wrong for BE targets.
Details
Details
- Reviewers
bogner craig.topper
Diff Detail
Diff Detail
Paths
| Differential D78480
[SelectionDAG] Fix legalization of non-byte-sized vector AbandonedPublic Authored by LemonBoy on Apr 20 2020, 3:31 AM.
Details
Summary Avoid splitting narrow loads into smaller byte-sized ones as elements straddling two words may get incorrectly extracted.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Apr 27 2020, 10:53 AM
Revision Contents
Diff 259844 llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/test/CodeGen/X86/load-local-v4i5.ll
|