aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorNashe Mncube <nashe.mncube@arm.com>2024-04-18 10:53:23 +0100
committerGitHub <noreply@github.com>2024-04-18 10:53:23 +0100
commit3e64f8a4e74cdcaf5920879c86e7e0a827f6ec13 (patch)
tree4a4bcaea54a537fce9c897c8019cc5be52fd1b5e /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parente90bc9cfd4d22c89dd993f62ede700ae25df49c5 (diff)
downloadllvm-3e64f8a4e74cdcaf5920879c86e7e0a827f6ec13.zip
llvm-3e64f8a4e74cdcaf5920879c86e7e0a827f6ec13.tar.gz
llvm-3e64f8a4e74cdcaf5920879c86e7e0a827f6ec13.tar.bz2
[AArch64][CodeGen] Fix illegal register aliasing bug for mops instrs (#88869)
A bug was found where mops instructions were being generated that aliased the source and size registers. This is unpredictable behaviour. This patch uses the earlyclobber constraint on the input source register so that it doesn't alias with the size register. Also a test is introduced which checks affected instructions can't violate this constraint.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions