aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineStripDebug.cpp
diff options
context:
space:
mode:
authorFrancesco Petrogalli <francesco.petrogalli@arm.com>2020-04-17 19:05:31 +0100
committerFrancesco Petrogalli <francesco.petrogalli@arm.com>2020-04-17 19:23:28 +0100
commit48879c02bfc40017ec7d4dcfbd920ef949b53cf6 (patch)
tree397e25feba34fcbea4cc4e5650d9809dc4d73191 /llvm/lib/CodeGen/MachineStripDebug.cpp
parent681466f5e6412350a0b066791450e72325c2c074 (diff)
downloadllvm-48879c02bfc40017ec7d4dcfbd920ef949b53cf6.zip
llvm-48879c02bfc40017ec7d4dcfbd920ef949b53cf6.tar.gz
llvm-48879c02bfc40017ec7d4dcfbd920ef949b53cf6.tar.bz2
[llvm][CodeGen] Fix issue for SVE gather prefetch.
Summary: This change is fixing an issue where the dagcombine incorrectly used an addressing mode with scaled offsets (indices), instead of unscaled offsets. Those addressing modes do not exist for `prfh` , `prfw` and `prfd`, hence we can reuse `prfb` because that has unscaled offsets, and because the pseudo-code in the XML spec suggests that the element size is not used for the amount of data that is prefetched by the instruction. FWIW, GCC also emits a `prfb` for these cases. Reviewers: sdesmalen, andwar, rengolin Reviewed By: sdesmalen Subscribers: tschuett, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78069
Diffstat (limited to 'llvm/lib/CodeGen/MachineStripDebug.cpp')
0 files changed, 0 insertions, 0 deletions