Files
clang-p2996/llvm/lib/CodeGen/GlobalISel/GIMatchTableExecutor.cpp
chuongg3 d58bd21150 [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.
2024-08-27 16:56:40 +01:00

3.2 KiB