[VE] Extend integer arguments and return values smaller than 64 bits
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Sat, 25 Jul 2020 07:31:07 +0000 (16:31 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 3 Aug 2020 23:07:05 +0000 (08:07 +0900)
commit045e79e77c252f2c73c640e820e977ef52836d50
tree49ce099640705327e8c191609bce1ce74efdf5a0
parent3b92db4c846ef3c7295444fa0b554905de0774b2
[VE] Extend integer arguments and return values smaller than 64 bits

In order to follow NEC Aurora SX VE ABI correctly, change to sign/zero
extend integer arguments and return values smaller than 64 bits in clang.
Also update regression test.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D85071
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/ve-abi.c