[PATCH] D133866: [SelectionDAG] Add helper function to check whether a SDValue is neutral element. NFC.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 25 23:17:31 PDT 2022


fakepaper56 updated this revision to Diff 462813.
fakepaper56 added a comment.

Rebase and address RKSimon's comment. I do not replace `foldSelectWithIdentityConstant`
since it makes some axv512 test fails.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133866

Files:
  llvm/include/llvm/CodeGen/SelectionDAGNodes.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133866.462813.patch
Type: text/x-patch
Size: 4227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220926/2021f50e/attachment-0001.bin>


More information about the llvm-commits mailing list