diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-11-28 21:29:14 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-11-28 21:29:14 +0000 |
commit | 9bc81fbe9240ed2288952896f9ac1f4afd6d19dc (patch) | |
tree | 75c32979250cc76d303739d7083264dffc250a66 /llvm/lib/IR/Function.cpp | |
parent | 6c13c36ddfaf2ce990fc5505d276bddf7d3d650d (diff) | |
download | bcm5719-llvm-9bc81fbe9240ed2288952896f9ac1f4afd6d19dc.tar.gz bcm5719-llvm-9bc81fbe9240ed2288952896f9ac1f4afd6d19dc.zip |
Revert "Masked Vector Load and Store Intrinsics."
This reverts commit r222632 (and follow-up r222636), which caused a host
of LNT failures on an internal bot. I'll respond to the commit on the
list with a reproduction of one of the failures.
Conflicts:
lib/Target/X86/X86TargetTransformInfo.cpp
llvm-svn: 222936
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r-- | llvm/lib/IR/Function.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp index fbf94b364af..b53f6f314ee 100644 --- a/llvm/lib/IR/Function.cpp +++ b/llvm/lib/IR/Function.cpp @@ -546,8 +546,7 @@ enum IIT_Info { IIT_ANYPTR = 26, IIT_V1 = 27, IIT_VARARG = 28, - IIT_HALF_VEC_ARG = 29, - IIT_SAME_VEC_WIDTH_ARG = 30 + IIT_HALF_VEC_ARG = 29 }; @@ -655,12 +654,6 @@ static void DecodeIITType(unsigned &NextElt, ArrayRef<unsigned char> Infos, ArgInfo)); return; } - case IIT_SAME_VEC_WIDTH_ARG: { - unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); - OutputTable.push_back(IITDescriptor::get(IITDescriptor::SameVecWidthArgument, - ArgInfo)); - return; - } case IIT_EMPTYSTRUCT: OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); return; @@ -768,14 +761,7 @@ static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos, case IITDescriptor::HalfVecArgument: return VectorType::getHalfElementsVectorType(cast<VectorType>( Tys[D.getArgumentNumber()])); - case IITDescriptor::SameVecWidthArgument: - Type *EltTy = DecodeFixedType(Infos, Tys, Context); - Type *Ty = Tys[D.getArgumentNumber()]; - if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { - return VectorType::get(EltTy, VTy->getNumElements()); - } - llvm_unreachable("unhandled"); - } + } llvm_unreachable("unhandled"); } |