[all-commits] [llvm/llvm-project] f454c9: [InlineSpiller] Re-tie operands if folding failed
serguei-katkov via All-commits
all-commits at lists.llvm.org
Tue Jan 12 19:40:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f454c9f102a7f0df9d2802e30538192d4fe2f97a
https://github.com/llvm/llvm-project/commit/f454c9f102a7f0df9d2802e30538192d4fe2f97a
Author: Serguei Katkov <serguei.katkov at azul.com>
Date: 2021-01-13 (Wed, 13 Jan 2021)
Changed paths:
M llvm/lib/CodeGen/InlineSpiller.cpp
Log Message:
-----------
[InlineSpiller] Re-tie operands if folding failed
InlineSpiller::foldMemoryOperand unties registers before an attempt to fold and
does not restore tied-ness in case of failure.
I do not have a particular test for demo of invalid behavior.
This is something of clean-up.
It is better to keep the behavior correct in case some time in future it happens.
Reviewers: reames, dantrushin
Reviewed By: dantrushin, reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D94389
More information about the All-commits
mailing list