[PATCH] D86516: GlobalISel: Add combines for extend operations

Volkan Keles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 03:22:52 PDT 2020


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

Add various combines for G_ANYEXT, G_SEXT and G_ZEXT.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86516

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-ext.mir
  llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-extending-loads-s1.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-amdgpu-cvt-f32-ubyte.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-from-extend-narrow.prelegal.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86516.287610.patch
Type: text/x-patch
Size: 13853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200825/5bb6e743/attachment.bin>


More information about the llvm-commits mailing list