Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | ||
---|---|---|
189–190 | These changes are covered by test Transforms/InstCombine/vscale_extractelement.ll, and isn't really a behavior change since it Min is used in exactly the same way as the numElements was before. The Min is not used for iteration, so this should be safe. | |
2287 | This behavioral change is covered by test Transforms/InstCombine/vscale_extractelement.ll. |
LGTM with one minor change.
llvm/include/llvm/Transforms/InstCombine/InstCombiner.h | ||
---|---|---|
338 | Change the initialization of InVTy? There's no reason to do the cast<> in two stages. |
Change the initialization of InVTy? There's no reason to do the cast<> in two stages.