[PATCH] D117328: GlobalISel: Add bitcast to tryFoldUnmergeCast
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 14 08:31:03 PST 2022
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: paquette, aemerson, arsenm, foad.
Herald added subscribers: kerbowa, rovka, nhaehnle, jvesely.
Petar.Avramovic requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Look through bitcast when unmerge searches for merge-like-opcode.
Handle the case when elements have same type.
https://reviews.llvm.org/D117328
Files:
llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
llvm/test/CodeGen/AArch64/fold-global-offsets.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-extract.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptrunc.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smulh.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smulo.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulh.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulo.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117328.400031.patch
Type: text/x-patch
Size: 15206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/047b83e2/attachment.bin>
More information about the llvm-commits
mailing list