aboutsummaryrefslogtreecommitdiff
path: root/flang
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2021-03-26 10:43:00 +0000
committerDavid Sherwood <david.sherwood@arm.com>2021-04-15 09:41:03 +0100
commit7120f89f7d8379c98fcf596da7c98cec04b89313 (patch)
treea9db401331f80c920acd5cd64f8585bb6685da7e /flang
parent[clang][deps] NFC: Improve documentation (diff)
downloadllvm-project-7120f89f7d8379c98fcf596da7c98cec04b89313.tar.gz
llvm-project-7120f89f7d8379c98fcf596da7c98cec04b89313.tar.bz2
llvm-project-7120f89f7d8379c98fcf596da7c98cec04b89313.zip
[NFC][LoopVectorize] Remove unnecessary VF.isScalable asserts
There are a few places in LoopVectorize.cpp where we have been too cautious in adding VF.isScalable() asserts and it can be confusing. It also makes it more difficult to see the genuine places where work needs doing to improve scalable vectorization support. This patch changes getMemInstScalarizationCost to return an invalid cost instead of firing an assert for scalable vectors. Also, vectorizeInterleaveGroup had multiple asserts all for the same thing. I have removed all but one assert near the start of the function, and added a new assert that we aren't dealing with masks for scalable vectors. Differential Revision: https://reviews.llvm.org/D99727
Diffstat (limited to 'flang')
0 files changed, 0 insertions, 0 deletions