diff options
author | Craig Topper <craig.topper@intel.com> | 2018-10-22 16:59:24 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-10-22 16:59:24 +0000 |
commit | 8d8dcfe690e64608f89af071038851f1c4925ee4 (patch) | |
tree | 1ecdb3e5dcf10c2ff4923ca303bf0171d0da67ef /llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h | |
parent | ba88ad35ecc38011066084c5ca76d4793c5eb89b (diff) | |
download | bcm5719-llvm-8d8dcfe690e64608f89af071038851f1c4925ee4.tar.gz bcm5719-llvm-8d8dcfe690e64608f89af071038851f1c4925ee4.zip |
Revert r344877 "[X86] Stop promoting integer loads to vXi64"
Sam McCall reported miscompiles in some tensorflow code. Reverting while I try to figure out.
llvm-svn: 344921
Diffstat (limited to 'llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h')
-rw-r--r-- | llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h b/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h index b08c31935d2..b703cbbd2b2 100644 --- a/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h +++ b/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h @@ -26,28 +26,25 @@ class Constant; class MVT; /// Decode a PSHUFB mask from an IR-level vector constant. -void DecodePSHUFBMask(const Constant *C, unsigned Width, - SmallVectorImpl<int> &ShuffleMask); +void DecodePSHUFBMask(const Constant *C, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPERMILP variable mask from an IR-level vector constant. -void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, unsigned Width, +void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPERMILP2 variable mask from an IR-level vector constant. void DecodeVPERMIL2PMask(const Constant *C, unsigned MatchImm, unsigned ElSize, - unsigned Width, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPPERM variable mask from an IR-level vector constant. -void DecodeVPPERMMask(const Constant *C, unsigned Width, - SmallVectorImpl<int> &ShuffleMask); +void DecodeVPPERMMask(const Constant *C, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPERM W/D/Q/PS/PD mask from an IR-level vector constant. -void DecodeVPERMVMask(const Constant *C, unsigned ElSize, unsigned Width, +void DecodeVPERMVMask(const Constant *C, unsigned ElSize, SmallVectorImpl<int> &ShuffleMask); /// Decode a VPERMT2 W/D/Q/PS/PD mask from an IR-level vector constant. -void DecodeVPERMV3Mask(const Constant *C, unsigned ElSize, unsigned Width, +void DecodeVPERMV3Mask(const Constant *C, unsigned ElSize, SmallVectorImpl<int> &ShuffleMask); } // llvm namespace |