[X86] Rename INTR_TYPE_4OP to INTR_TYPE_4OP_IMM8 and truncate immediates to MVT::i8
authorCraig Topper <craig.topper@intel.com>
Mon, 17 Aug 2020 22:52:13 +0000 (15:52 -0700)
committerCraig Topper <craig.topper@intel.com>
Tue, 18 Aug 2020 00:25:52 +0000 (17:25 -0700)
commit2ffa5d218f959ffbacf48f989b318bf68bb550f1
tree2fd5cb4a62e49d977c5223dc8cfeea9bbb315923
parentbc244f08cf5129f99fe6f7f76a373463f07e7c84
[X86] Rename INTR_TYPE_4OP to INTR_TYPE_4OP_IMM8 and truncate immediates to MVT::i8

This makes sure VPTERNLOG is generated with MVT::i8 immediate
as its SDNode declaration in X86InstrFragmentsSIMD.td declares.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86IntrinsicsInfo.h