diff options
author | Zequan Wu <zequanwu@google.com> | 2023-03-23 14:42:23 -0400 |
---|---|---|
committer | Zequan Wu <zequanwu@google.com> | 2023-05-10 14:25:11 -0400 |
commit | 3977b77a6bb780b02559530a96597cdb1c0a5bf6 (patch) | |
tree | b13a755c55818ed30b6d69bbc5beed1d3202972a /llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp | |
parent | 2ec334dc7b7329c6b71faa037a0d926e8e130c20 (diff) | |
download | llvm-3977b77a6bb780b02559530a96597cdb1c0a5bf6.zip llvm-3977b77a6bb780b02559530a96597cdb1c0a5bf6.tar.gz llvm-3977b77a6bb780b02559530a96597cdb1c0a5bf6.tar.bz2 |
[CodeGen] Fix nomerge attribute not working in tail calls.
In D79537, `nomerge` was made to only apply to non-tail calls. This fixes it by also applying it to tail calls.
For ARM, I only made the new MI to inherit the flag under `TCRETURNdi` and `TCRETURNri`, because that's the place tail calls got replaced. Not sure if there's any other place needed.
Fixes #61545.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D146749
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp')
0 files changed, 0 insertions, 0 deletions