[VE][TTI] don't advertise vregs/vops
authorSimon Moll <simon.moll@emea.nec.com>
Fri, 6 Nov 2020 10:11:11 +0000 (11:11 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Fri, 6 Nov 2020 10:12:10 +0000 (11:12 +0100)
commitd3b33a78106e30afaeb0a2a5e7f8e16b5f7e0752
tree77a7c795faac071081c1c9eaf30111010a47d298
parent56fdc6947274fe543828b2152d2c9b3cc02c6a3a
[VE][TTI] don't advertise vregs/vops

Claim to not have any vector support to dissuade SLP, LV and friends
from generating SIMD IR for the VE target.  We will take this back once
vector isel is stable.

Reviewed By: kaz7, fhahn

Differential Revision: https://reviews.llvm.org/D90462
llvm/lib/Target/VE/VETargetTransformInfo.h
llvm/test/Transforms/LoopVectorize/VE/disable_lv.ll [new file with mode: 0644]
llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg [new file with mode: 0644]
llvm/test/Transforms/SLPVectorizer/VE/disable_slp.ll [new file with mode: 0644]
llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg [new file with mode: 0644]