[PATCH] D99032: GlobalISel: Add FoldBinOpIntoSelect combine

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 15:57:10 PST 2022


arsenm updated this revision to Diff 406641.
arsenm added a comment.

Rebase.

Since I posted this, we now have a second version of isConstantOrConstantVector which should probably be merged


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99032/new/

https://reviews.llvm.org/D99032

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/CodeGen/GlobalISel/Utils.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fold-binop-into-select.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99032.406641.patch
Type: text/x-patch
Size: 44059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220207/85ea8a7b/attachment.bin>


More information about the llvm-commits mailing list