aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-06-29 16:21:26 -0700
committerCraig Topper <craig.topper@sifive.com>2021-06-30 07:52:57 -0700
commit0f1f92156f3caafe9567b853ecb57212b709e68d (patch)
tree5bbb9ed0c33f1c06f0fe1613d0dfcdba1f9d76c3 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parentfec521a7b206815ad995f7247e671a8f25d144fc (diff)
downloadllvm-0f1f92156f3caafe9567b853ecb57212b709e68d.zip
llvm-0f1f92156f3caafe9567b853ecb57212b709e68d.tar.gz
llvm-0f1f92156f3caafe9567b853ecb57212b709e68d.tar.bz2
[ARM] Fix incorrect assignment of Changed variable in MVEGatherScatterLowering::optimiseOffsets.
I believe this Changed flag should be initialized to false, otherwise the if (!Changed) is always dead. This doesn't manifest in a functional issue because the PHINode checks will fail if nothing changed. They are identical to the earlier checks that must have already failed to get into this else block. While there remove an else after return to reduce indentation. Differential Revision: https://reviews.llvm.org/D105159
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions