[PATCH] D104239: [SVE] Fix cast<FixedVectorType> in truncateToMinimalBitwidths
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 04:51:05 PDT 2021
sdesmalen added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3955
auto *TruncatedTy = VectorType::get(
- ScalarTruncatedTy,
- cast<VectorType>(OriginalTy)->getElementCount());
+ ScalarTruncatedTy, cast<VectorType>(OriginalTy)->getElementCount());
if (TruncatedTy == OriginalTy)
----------------
This looks like the same code, just different formatting.
Did you diff with the correct commit? It also says that llvm/test/Transforms/LoopVectorize/AArch64/sve-trunc-min-bitwidth.ll was moved, but this file does not exist upstream.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104239/new/
https://reviews.llvm.org/D104239
More information about the llvm-commits
mailing list