[PATCH] D95729: [GlobalISel] Add sext(constant) -> constant artifact combine.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 22:52:18 PST 2021


aemerson created this revision.
aemerson added reviewers: arsenm, paquette.
aemerson added a project: LLVM.
Herald added subscribers: kerbowa, pengfei, rovka, nhaehnle, jvesely.
aemerson requested review of this revision.
Herald added a subscriber: wdng.

This is the G_SEXT counterpart to the existing G_ZEXT/G_ANYEXT combines.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95729

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
  llvm/test/CodeGen/X86/GlobalISel/legalize-ptr-add.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95729.320281.patch
Type: text/x-patch
Size: 33899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210130/01c175ce/attachment.bin>


More information about the llvm-commits mailing list