[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
Wed Sep 14 16:21:18 PDT 2022


fakepaper56 added a comment.

I am not sure what is the compatibility issue. I think `foldSelectWithIdentityConstant` could be also used for operations which not have communicative property.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133866



More information about the llvm-commits mailing list