[PATCH] D46232: [SystemZ, IPRA] determineCalleeSaves must always add return register and DP.
Vivek Pandya via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 30 03:29:18 PDT 2018
vivekvpandya added inline comments.
================
Comment at: lib/Target/SystemZ/SystemZFrameLowering.cpp:97
// address register will be clobbered.
if (MFFrame.hasCalls())
SavedRegs.set(SystemZ::R14D);
----------------
>From last comment by @uweigand it seems that the actual bug is here shouldn't hasCall() for systemZ detect instructions which modifies R14 except load instruction?
https://reviews.llvm.org/D46232
More information about the llvm-commits
mailing list