[PATCH] D39636: [X86] Don't clobber reserved registers with stack adjustments
Michael Kuperstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 6 13:57:11 PST 2017
mkuper added a reviewer: rnk.
mkuper added a subscriber: rnk.
mkuper added a comment.
I'm not sure whether it's the right fix.
I would expect the clobbers list of an instruction to be precise - if it says it's clobbered, you can't rely on it being preserved across the call, whatever the circumstances. So maybe the right thing to do would be to filter reserved registers out of the clobber list for these invokes when they're lowered?
@rnk, thoughts?
https://reviews.llvm.org/D39636
More information about the llvm-commits
mailing list