aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorPierre-Andre Saulais <pierre-andre@codeplay.com>2023-09-21 11:42:19 +0100
committerLuke Drummond <luke.drummond@codeplay.com>2023-10-19 12:34:25 +0100
commit0b80288e9e0b12f9680d9f2cfdff5686c38982d2 (patch)
tree4b6bcb3f77a06b56f16930e1e8277aeb3ec8ccba /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent906d3ff054b0ca6439521e8871bac54843cc73a2 (diff)
downloadllvm-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