aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorCaroline Concatto <caroline.concatto@arm.com>2021-05-05 15:20:16 +0100
committerCaroline Concatto <caroline.concatto@arm.com>2021-07-20 15:56:30 +0100
commitcf78995c4a1a608875a5ecf666067a9afb3e1274 (patch)
tree955c68183fec27cc45327aa8bdc22b80dbd9550b /clang/lib/CodeGen/CodeGenFunction.cpp
parent0977f31cecf8aa4ad1be72748179f4d6a902daf4 (diff)
downloadllvm-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