aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-05-13 18:20:37 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-05-13 20:33:14 +0300
commit16d03818412415c56efcd482d18c0cbdf712524c (patch)
tree922bd85f387e47838506af3d6f6ed854d51590e9 /llvm/lib/Support/TargetParser.cpp
parenta624cec56d4bf61c1f3cb7daf2d27dac59c56fa4 (diff)
downloadllvm-16d03818412415c56efcd482d18c0cbdf712524c.zip
llvm-16d03818412415c56efcd482d18c0cbdf712524c.tar.gz
llvm-16d03818412415c56efcd482d18c0cbdf712524c.tar.bz2
Return "[CGCall] Annotate `this` argument with alignment"
The original change was reverted because it was discovered that clang mishandles thunks, and they receive wrong attributes for their this/return types - the ones for the function they will call, not the ones they have. While i have tried to fix this in https://reviews.llvm.org/D100388 that patch has been up and stuck for a month now, with little signs of progress. So while it will be good to solve this for real, for now we can simply avoid introducing the bug, by not annotating this/return for thunks. This reverts commit 6270b3a1eafaba4279e021418c5a2c5a35abc002, relanding 0aa0458f1429372038ca6a4edc7e94c96cd9a753.
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions