aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCheckDebugify.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-12-16 14:22:46 -0500
committerSanjay Patel <spatel@rotateright.com>2020-12-16 15:25:45 -0500
commit38ebc1a13dc8ce41917d66918b319d793dc2fb02 (patch)
treed67b3d7e203b4d8193d8d6aabc3d52994284663e /llvm/lib/CodeGen/MachineCheckDebugify.cpp
parente53b9f733a7cb0a5da372b73ab6b7711c0300d65 (diff)
downloadllvm-38ebc1a13dc8ce41917d66918b319d793dc2fb02.zip
llvm-38ebc1a13dc8ce41917d66918b319d793dc2fb02.tar.gz
llvm-38ebc1a13dc8ce41917d66918b319d793dc2fb02.tar.bz2
[VectorCombine] optimize alignment for load transform
Here's another minimal step suggested by D93229 / D93397 . (I'm trying to be extra careful in these changes because load transforms are easy to get wrong.) We can optimistically choose the greater alignment of a load and its pointer operand. As the test diffs show, this can improve what would have been unaligned vector loads into aligned loads. When we enhance with gep offsets, we will need to adjust the alignment calculation to include that offset. Differential Revision: https://reviews.llvm.org/D93406
Diffstat (limited to 'llvm/lib/CodeGen/MachineCheckDebugify.cpp')
0 files changed, 0 insertions, 0 deletions