diff options
| author | Oliver Stannard <oliver.stannard@arm.com> | 2024-12-06 14:07:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-06 13:07:37 +0000 |
| commit | 452efb35df641bac80a901c867ddfdd4de6ad2f4 (patch) | |
| tree | 8a3bd7b8931d4c687671247228a1545ba2444015 /lldb/test/Shell/ScriptInterpreter/Python/python.test | |
| parent | 7c523601188922964964f3b763f908ba035b1038 (diff) | |
| download | llvm-452efb35df641bac80a901c867ddfdd4de6ad2f4.zip llvm-452efb35df641bac80a901c867ddfdd4de6ad2f4.tar.gz llvm-452efb35df641bac80a901c867ddfdd4de6ad2f4.tar.bz2 | |
[AArch64] Fix LDR/STR folding causing memtag failures (#118821)
When generating code with sanitize_memtag, we make use of the fact that
the sp+imm forms of many load and store instructions are not
tag-checked, so we can use SP directly instead of needing a register
holding the tagged pointer. However, this isn't true for the writeback
versions of the instructions, so we can't fold ADDs and SUBs into them
in AArch64LoadStoreOptimizer. This would be possible in cases where the
loads/stores only access untagged stack slots, but that information
isn't easily available after frame index elimination.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/python.test')
0 files changed, 0 insertions, 0 deletions
