[all-commits] [llvm/llvm-project] bc747c: [SystemZ][z/OS] Fix incorrect codegen for ADA_ENTR...
tltao via All-commits
all-commits at lists.llvm.org
Thu Aug 1 10:24:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc747c3e1377e3e262d901cefcae2f563c895bb5
https://github.com/llvm/llvm-project/commit/bc747c3e1377e3e262d901cefcae2f563c895bb5
Author: tltao <tony.le.tao at gmail.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
A llvm/test/CodeGen/SystemZ/Large/large-ada-01.py
A llvm/test/CodeGen/SystemZ/Large/large-ada-02.py
Log Message:
-----------
[SystemZ][z/OS] Fix incorrect codegen for ADA_ENTRY pseudo instruction (#101415)
The current MCInstBuilder for generating an ALGFI when loading something
from the ADA is incorrect and will crash the compiler.
r0 must also be excluded from the registers returned as the result,
since it is treated as the value "0" on z/OS.
Also add some tests to properly test the paths where LLILF and ALGFI are
generated.
---------
Co-authored-by: Tony Tao <tonytao at ca.ibm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list