diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2024-02-07 12:53:20 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 12:53:20 +0700 |
commit | b0785cd1cbf97dbd4eb39647ff22771ef0a7cfea (patch) | |
tree | 2a10e3d52f8d1b1172d69940dd7de7de2314b6ad /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | adbf21f12b3069b2554efb39f2e92c6cf6f24940 (diff) | |
download | llvm-b0785cd1cbf97dbd4eb39647ff22771ef0a7cfea.zip llvm-b0785cd1cbf97dbd4eb39647ff22771ef0a7cfea.tar.gz llvm-b0785cd1cbf97dbd4eb39647ff22771ef0a7cfea.tar.bz2 |
[GlobalISel][ARM] Support missing case for G_CONSTANT (#80555)
Global Instruction Selector could not select the code:
%0:gprb(s32) = G_CONSTANT i32 -1
In DAG selector the similar code is selected to the instruction MVNi
using custom operand `mod_imm_not`. Changing its definition from
`PatLeaf` to `ImmLeaf` and providing counterpart for `imm_not_XFORM`
make the relevant rule available for GlobalISel too.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions