diff options
author | chuongg3 <chuong.goh@arm.com> | 2024-08-27 08:56:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 16:56:40 +0100 |
commit | d58bd21150914b4a2304c24b04a714bfb251c594 (patch) | |
tree | dffcee7710c7306d5f2453f2b6f51ae3e1540941 /lldb/source/Commands/CommandObjectScripting.cpp | |
parent | ae58cc0e9993db13e5256c21ae5e971b2974968f (diff) | |
download | llvm-d58bd21150914b4a2304c24b04a714bfb251c594.zip llvm-d58bd21150914b4a2304c24b04a714bfb251c594.tar.gz llvm-d58bd21150914b4a2304c24b04a714bfb251c594.tar.bz2 |
[GlobalISel] Look between instructions to be matched (#101675)
When a pattern is matched in TableGen, a check is run called
isObviouslySafeToFold(). One of the condition that it checks for is
whether the instructions that are being matched are consecutive, so the
instruction's insertion point does not change.
This patch allows the movement of the insertion point of a load
instruction if none of the intervening instructions are stores or have
side-effects.
Diffstat (limited to 'lldb/source/Commands/CommandObjectScripting.cpp')
0 files changed, 0 insertions, 0 deletions