[llvm] [Support] Move UndefPoisonKind enum to a shared header (PR #195523)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 01:38:03 PDT 2026


================
@@ -123,7 +123,7 @@ static bool getShuffleDemandedElts(const ShuffleVectorInst *Shuf,
                                    const APInt &DemandedElts,
                                    APInt &DemandedLHS, APInt &DemandedRHS) {
   if (isa<ScalableVectorType>(Shuf->getType())) {
-    assert(DemandedElts == APInt(1,1));
+    assert(DemandedElts == APInt(1, 1));
----------------
RKSimon wrote:

(style) don't clang-format lines that aren't affected by a patch - it can make the diff much larger than necessary and affects git blame

https://github.com/llvm/llvm-project/pull/195523


More information about the llvm-commits mailing list