[PowerPC] Prevent argument promotion of types with size greater than 128 bits
authorAhsan Saghir <saghir@ca.ibm.com>
Fri, 23 Apr 2021 13:26:45 +0000 (08:26 -0500)
committerAhsan Saghir <saghir@ca.ibm.com>
Tue, 4 May 2021 17:09:25 +0000 (12:09 -0500)
commit670736a904746e92dde141266b6d4881b56d51a2
tree8903d50225ec80419e40028539acec2cedaf0de5
parent33ff3c20498ef5c2057730d91a9dbee21a027a31
[PowerPC] Prevent argument promotion of types with size greater than 128 bits

This patch prevents argument promotion of types having
type size greater than 128 bits.

Fixes Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=49952

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D101188
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
llvm/test/CodeGen/PowerPC/arg_promotion.ll [new file with mode: 0644]