[PATCH] D125641: [DAGCombiner] Fix bug in MatchBSwapHWordLow.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 08:57:16 PDT 2022


craig.topper updated this revision to Diff 430399.
craig.topper added a comment.

Correct high bit for getsBitSet.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125641

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/arm64-rev.ll
  llvm/test/CodeGen/ARM/rev.ll
  llvm/test/CodeGen/RISCV/bswap-bitreverse.ll
  llvm/test/CodeGen/Thumb/rev.ll
  llvm/test/CodeGen/X86/bswap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125641.430399.patch
Type: text/x-patch
Size: 5401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/1df53f65/attachment.bin>


More information about the llvm-commits mailing list