Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
While immediate feedback would be greatly appreciated, this commit won't actually build until D77587 is merged. I'll ping the thread when this happens if this commit hasn't been accepted yet.
llvm/lib/IR/Function.cpp | ||
---|---|---|
1358 | I think this might not be correct |
llvm/include/llvm/IR/PatternMatch.h | ||
---|---|---|
2176–2178 | nit: now that we can use isa<ScalableVectorType>, it's probably better to write this as: auto *DerefTy = PtrTy->getPointerElementType(); if (isa<ScalableVectorType>(DerefTy) && DL.getTypeAllocSizeInBits(DerefTy).getKnownMinSize() == 8) | |
llvm/unittests/IR/VectorTypesTest.cpp | ||
179 | Shouldn't this be EXPECT_FALSE? |
nit: now that we can use isa<ScalableVectorType>, it's probably better to write this as: