aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorStelios Ioannou <stelios.ioannou@arm.com>2021-04-15 16:44:42 +0100
committerStelios Ioannou <stelios.ioannou@arm.com>2021-04-15 16:44:42 +0100
commitbf147c465352ed69f6fdaace26e9566bc442ade2 (patch)
treebf056e4dcee20027eb7da56cb83b9485192d9f95 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent17cec07184d3e83b6ae5f5c0d579083755d6263a (diff)
downloadllvm-bf147c465352ed69f6fdaace26e9566bc442ade2.zip
llvm-bf147c465352ed69f6fdaace26e9566bc442ade2.tar.gz
llvm-bf147c465352ed69f6fdaace26e9566bc442ade2.tar.bz2
[LSR] Fix for pre-indexed generated constant offset
This patch changed the isLegalUse check to ensure that LSRInstance::GenerateConstantOffsetsImpl generates an offset that results in a legal addressing mode and formula. The check is changed to look similar to the assert check used for illegal formulas. Differential Revision: https://reviews.llvm.org/D100383 Change-Id: Iffb9e32d59df96b8f072c00f6c339108159a009a
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions