diff options
author | Hendrik Greving <hgreving@google.com> | 2022-06-01 13:26:34 -0700 |
---|---|---|
committer | Hendrik Greving <hgreving@google.com> | 2022-06-01 13:27:49 -0700 |
commit | e9d05cc7d82cc828f5bc8f40d3bf00b09885e7ce (patch) | |
tree | 8e5b0bacba094899c766c23536d8f720d76abf0f /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 72aca94b9080f1c89b2772b3a2612022525bf0d0 (diff) | |
download | llvm-e9d05cc7d82cc828f5bc8f40d3bf00b09885e7ce.zip llvm-e9d05cc7d82cc828f5bc8f40d3bf00b09885e7ce.tar.gz llvm-e9d05cc7d82cc828f5bc8f40d3bf00b09885e7ce.tar.bz2 |
Revert "[ValueTypes] Define MVTs for v128i2/v64i4 as well as i2 and i4."
This reverts commit 430ac5c3029c52e391e584c6d4447e6e361fae99.
Due to failures in Clang tests.
Differential Revision: https://reviews.llvm.org/D125247
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index 19c38d3e..63cac36 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -739,31 +739,6 @@ void TargetLoweringBase::initActions() { std::fill(std::begin(TargetDAGCombineArray), std::end(TargetDAGCombineArray), 0); - // We're somewhat special casing MVT::i2 and MVT::i4. Ideally we want to - // remove this and targets should individually set these types if not legal. - for (ISD::NodeType NT : - enum_seq_inclusive(ISD::DELETED_NODE, ISD::BUILTIN_OP_END, - force_iteration_on_noniterable_enum)) { - for (MVT VT : {MVT::i2, MVT::i4}) - OpActions[(unsigned)VT.SimpleTy][NT] = Expand; - } - for (MVT AVT : MVT::all_valuetypes()) { - for (MVT VT : {MVT::i2, MVT::i4, MVT::v128i2, MVT::v64i4}) { - setTruncStoreAction(AVT, VT, Expand); - setLoadExtAction(ISD::EXTLOAD, AVT, VT, Expand); - setLoadExtAction(ISD::ZEXTLOAD, AVT, VT, Expand); - } - } - for (unsigned IM = (unsigned)ISD::PRE_INC; - IM != (unsigned)ISD::LAST_INDEXED_MODE; ++IM) { - for (MVT VT : {MVT::i2, MVT::i4}) { - setIndexedLoadAction(IM, VT, Expand); - setIndexedStoreAction(IM, VT, Expand); - setIndexedMaskedLoadAction(IM, VT, Expand); - setIndexedMaskedStoreAction(IM, VT, Expand); - } - } - for (MVT VT : MVT::fp_valuetypes()) { MVT IntVT = MVT::getIntegerVT(VT.getFixedSizeInBits()); if (IntVT.isValid()) { |