diff options
author | Pierre-Andre Saulais <pierre-andre@codeplay.com> | 2023-09-21 11:42:19 +0100 |
---|---|---|
committer | Luke Drummond <luke.drummond@codeplay.com> | 2023-10-19 12:34:25 +0100 |
commit | 0b80288e9e0b12f9680d9f2cfdff5686c38982d2 (patch) | |
tree | 4b6bcb3f77a06b56f16930e1e8277aeb3ec8ccba /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 906d3ff054b0ca6439521e8871bac54843cc73a2 (diff) | |
download | llvm-0b80288e9e0b12f9680d9f2cfdff5686c38982d2.zip llvm-0b80288e9e0b12f9680d9f2cfdff5686c38982d2.tar.gz llvm-0b80288e9e0b12f9680d9f2cfdff5686c38982d2.tar.bz2 |
[NVPTX] Preserve v16i8 vector loads when legalizing
This is done by lowering v16i8 loads into LoadV4 operations with i32
results instead of letting ReplaceLoadVector split it into smaller
loads during legalization. This is done at dag-combine1 time, so that
vector operations with i8 elements can be optimised away instead of
being needlessly split during legalization, which involves storing to
the stack and loading it back.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions