[PATCH] D103755: [DAG] Fold neg(bvsplat(neg(x)) -> bvsplat(x)

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 00:14:37 PDT 2021


dmgreen updated this revision to Diff 353282.
dmgreen added a comment.

Use getSplatValue.


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

https://reviews.llvm.org/D103755

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/neon-shift-neg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103755.353282.patch
Type: text/x-patch
Size: 7380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210621/378dc261/attachment.bin>


More information about the llvm-commits mailing list