aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2022-11-18 12:08:02 -0800
committerSlava Zakharin <szakharin@nvidia.com>2022-11-30 11:51:34 -0800
commitd5b0de35bdd9a3f4d4a093e7938b06add34678eb (patch)
treefa5723a009258369ee0151e07c3182774d94360a /llvm/lib/CodeGen/CodeGen.cpp
parent2fda6207118d1d1c19e3b66f615f332ffc2792d0 (diff)
downloadllvm-d5b0de35bdd9a3f4d4a093e7938b06add34678eb.zip
llvm-d5b0de35bdd9a3f4d4a093e7938b06add34678eb.tar.gz
llvm-d5b0de35bdd9a3f4d4a093e7938b06add34678eb.tar.bz2
[flang] Use proper attributes for runtime calls with 'i1' arguments/returns.
Clang uses signext/zeroext attributes for integer arguments shorter than the default 'int' type on a target. So Flang has to match this for functions from Fortran runtime and also for BIND(C) routines. This patch implements ABI adjustments only for Fortran runtime calls. BIND(C) part will be done separately. This resolves https://github.com/llvm/llvm-project/issues/58579 Differential Revision: https://reviews.llvm.org/D137050
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions