[X86] Add v64i8/v32i16 to several places in X86CallingConv.td where they seemed obviously missing.

llvm-svn: 363906
This commit is contained in:
Craig Topper 2019-06-20 04:29:00 +00:00
parent 27cf743bff
commit 451f7feb64
1 changed files with 4 additions and 3 deletions

View File

@ -147,7 +147,8 @@ def CC_#NAME : CallingConv<[
CCAssignToStack<32, 32>>,
// 512-bit vectors get 64-byte stack slots that are 64-byte aligned.
CCIfType<[v16i32, v8i64, v16f32, v8f64], CCAssignToStack<64, 64>>
CCIfType<[v64i8, v32i16, v16i32, v8i64, v16f32, v8f64],
CCAssignToStack<64, 64>>
]>;
def RetCC_#NAME : CallingConv<[
@ -567,7 +568,7 @@ def CC_X86_64_C : CallingConv<[
CCAssignToStack<32, 32>>,
// 512-bit vectors get 64-byte stack slots that are 64-byte aligned.
CCIfType<[v16i32, v8i64, v16f32, v8f64],
CCIfType<[v64i8, v32i16, v16i32, v8i64, v16f32, v8f64],
CCAssignToStack<64, 64>>
]>;
@ -612,7 +613,7 @@ def CC_X86_Win64_C : CallingConv<[
CCIfType<[v32i8, v16i16, v8i32, v4i64, v8f32, v4f64], CCPassIndirect<i64>>,
// 512 bit vectors are passed by pointer
CCIfType<[v16i32, v16f32, v8f64, v8i64], CCPassIndirect<i64>>,
CCIfType<[v64i8, v32i16, v16i32, v16f32, v8f64, v8i64], CCPassIndirect<i64>>,
// Long doubles are passed by pointer
CCIfType<[f80], CCPassIndirect<i64>>,