[PATCH] D125641: [DAGCombiner] Fix bug in MatchBSwapHWordLow.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 03:01:57 PDT 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:6507
+ if (!DAG.MaskedValueIsZero(N10,
+ APInt::getBitsSet(OpSizeInBits, 16, HighBit)))
+ return SDValue();
----------------
Isn't APInt::getBitsSet hiBit exclusive?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125641/new/
https://reviews.llvm.org/D125641
More information about the llvm-commits
mailing list