aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2020-10-20 13:08:07 -0700
committerEli Friedman <efriedma@quicinc.com>2021-05-11 11:22:18 -0700
commit61cbbba7a645a1d87db9a80867c84a788ab2ea9c (patch)
treefd02f29fd630f2e4001478f263c35a30eba7397d /llvm/tools/llvm-cov/CodeCoverage.cpp
parent49755871ad0c24ed970c0a4f2c51f90488b0ddd2 (diff)
downloadllvm-61cbbba7a645a1d87db9a80867c84a788ab2ea9c.zip
llvm-61cbbba7a645a1d87db9a80867c84a788ab2ea9c.tar.gz
llvm-61cbbba7a645a1d87db9a80867c84a788ab2ea9c.tar.bz2
[ArgumentPromotion] Fix byval alignment handling.
Make sure the alignment of the generated operations matches the alignment of the byval argument. Previously, we were just ignoring alignment and getting lucky. While I'm here, also delete the unnecessary "tail" handling. Passing a pointer to a byval argument to a "tail" call is UB, so rewriting to an alloca doesn't require any special handling. Differential Revision: https://reviews.llvm.org/D89819
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions