[PATCH] D110786: [GlobalISel] Extend G_SELECT of known condition combine to vectors.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 16:32:33 PDT 2021


aemerson created this revision.
aemerson added reviewers: paquette, foad, arsenm, Petar.Avramovic.
aemerson added a project: LLVM.
Herald added subscribers: hiraditya, rovka.
aemerson requested review of this revision.
Herald added a subscriber: wdng.

Adds a new utility function: isConstantOrConstantVector().


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110786

Files:
  llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
  llvm/include/llvm/CodeGen/GlobalISel/Utils.h
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110786.376065.patch
Type: text/x-patch
Size: 6789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/a00f44f0/attachment.bin>


More information about the llvm-commits mailing list