diff options
author | Caroline Concatto <caroline.concatto@arm.com> | 2021-05-05 15:20:16 +0100 |
---|---|---|
committer | Caroline Concatto <caroline.concatto@arm.com> | 2021-07-20 15:56:30 +0100 |
commit | cf78995c4a1a608875a5ecf666067a9afb3e1274 (patch) | |
tree | 955c68183fec27cc45327aa8bdc22b80dbd9550b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 0977f31cecf8aa4ad1be72748179f4d6a902daf4 (diff) | |
download | llvm-cf78995c4a1a608875a5ecf666067a9afb3e1274.zip llvm-cf78995c4a1a608875a5ecf666067a9afb3e1274.tar.gz llvm-cf78995c4a1a608875a5ecf666067a9afb3e1274.tar.bz2 |
[NFC][LoopVectorizer] Remove VF.isScalable() assertion from collectInstsToScalarize and getInstructionCost
This patch removes the assertion when VF is scalable and replaces
getKnownMinValue() by getFixedValue(), so it still guards the code against
scalable vector types.
The assertions were used to guarantee that getknownMinValue were not used for
scalable vectors.
Differential Revision: https://reviews.llvm.org/D106359
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions