[PATCH] D106762: [AArch64][GlobalISel] Enable some select combines after legalization

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 25 00:49:11 PDT 2021


aemerson created this revision.
aemerson added reviewers: paquette, jroelofs.
aemerson added a project: LLVM.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
aemerson requested review of this revision.

The legalizer generates selects for some operations, which can have constant condition values, resulting in lots of dead code if it's not folded away.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106762

Files:
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
  llvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-select.mir
  llvm/test/CodeGen/AArch64/fold-global-offsets.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106762.361492.patch
Type: text/x-patch
Size: 7238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210725/e5e789e3/attachment.bin>


More information about the llvm-commits mailing list