aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-05-12 12:42:45 +0200
committerNikita Popov <npopov@redhat.com>2022-05-16 10:25:25 +0200
commit05c3fe075d608a3e14f6ab272a24132912ebc861 (patch)
treedba00e98048e2b08d20dc022566019daaff9016e /lldb/source/Commands/CommandObjectScript.cpp
parente57f57841fbb0cd1d1dbd3237c2cbe6ce15984dd (diff)
downloadllvm-05c3fe075d608a3e14f6ab272a24132912ebc861.zip
llvm-05c3fe075d608a3e14f6ab272a24132912ebc861.tar.gz
llvm-05c3fe075d608a3e14f6ab272a24132912ebc861.tar.bz2
[FastISel] Fix load folding for registers with fixups
FastISel tries to fold loads into the single using instruction. However, if the register has fixups, then there may be additional uses through an alias of the register. In particular, this fixes the problem reported at https://reviews.llvm.org/D119432#3507087. The load register is (at the time of load folding) only used in a single call instruction. However, selection of the bitcast has added a fixup between the load register and the cross-BB register of the bitcast result. After fixups are applied, there would now be two uses of the load register, so load folding is not legal. Differential Revision: https://reviews.llvm.org/D125459
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions