summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll
diff options
context:
space:
mode:
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-11-15 11:41:25 +0100
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-11-15 11:41:25 +0100
commit1f559353a7821769c94f03b00cc9c2f65f982d42 (patch)
tree5235bf29f843e3eb9525f26d24ef54e842cf7993 /llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll
parentdda8e9554071164c85ac7b8b14bc5349703deaab (diff)
downloadbcm5719-llvm-1f559353a7821769c94f03b00cc9c2f65f982d42.tar.gz
bcm5719-llvm-1f559353a7821769c94f03b00cc9c2f65f982d42.zip
[MIPS GlobalISel] Select andi, ori and xori
Introduce IntImmLeaf version of PatLeaf immZExt16 for 32-bit immediates. Change immZExt16 with imm32ZExt16 for andi, ori and xori. This keeps same behavior for SDAG and allows for GlobalISel selectImpl to select 'G_CONSTANT imm' + G_AND, G_OR, G_XOR into ANDi, ORi, XORi, respectively, when 32-bit imm satisfies imm32ZExt16 predicate: zero extending 16 low bits of imm is equal to imm. Large number of test changes comes from zero extending of small types which is transformed into 'and' with bitmask in legalizer. Differential Revision:https://reviews.llvm.org/D70185
Diffstat (limited to 'llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud