llvm-project
898963b0 - [AArch64] Fix missing register definitions in homogeneous epilog lowering (#171118)

Commit
142 days ago
[AArch64] Fix missing register definitions in homogeneous epilog lowering (#171118) The lowering for HOM_Epilog did not transfer explicit register defs from the pseudo-instruction to the generated helper calls. MachineVerifier would complain if a following tail call uses one of the restored CSRs. This scenario occurs in code generated by the Swift compiler, where X20 is used to pass swiftself. This patch fixes the issue by adding the missing defs back to the helper call as implicit defs.
Author
Parents
Loading