[PATCH] D148595: [X86] Fix whitespace issue in CombineSetCC; NFC
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 17:34:22 PDT 2023
goldstein.w.n created this revision.
goldstein.w.n added reviewers: pengfei, RKSimon.
Herald added a subscriber: hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148595
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
===================================================================
--- llvm/lib/Target/X86/X86ISelLowering.cpp
+++ llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -49145,7 +49145,7 @@
// Don't break NOT patterns.
SDValue BC = peekThroughOneUseBitcasts(N0);
if (ISD::isBitwiseLogicOp(BC.getOpcode()) &&
- BC->isOnlyUserOf(BC.getOperand(1).getNode()) &&
+ BC->isOnlyUserOf(BC.getOperand(1).getNode()) &&
!ISD::isBuildVectorAllOnes(BC.getOperand(1).getNode())) {
if (SDValue RHS = TryConstantFold(BC.getOperand(1))) {
SDLoc DL(N);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148595.514482.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/ec689e60/attachment.bin>
More information about the llvm-commits
mailing list