[PATCH] D150443: [KnownBits] Define and use intersectWith and unionWith

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 13:08:36 PDT 2023


nikic accepted this revision.
nikic added a comment.

LGTM



================
Comment at: llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp:241
         // just stop looking through the operands.
         if (Known.One == 0 && Known.Zero == 0)
           break;
----------------
Side note: Should use isUnknown() here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150443



More information about the llvm-commits mailing list