[all-commits] [llvm/llvm-project] f7bee6: [TailDuplicator] Don't constrain register classes ...
mikaelholmen via All-commits
all-commits at lists.llvm.org
Tue Apr 25 23:22:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7bee65728becbfbf82ba46fd0726f13f43b0e33
https://github.com/llvm/llvm-project/commit/f7bee65728becbfbf82ba46fd0726f13f43b0e33
Author: Mikael Holmen <mikael.holmen at ericsson.com>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
M llvm/lib/CodeGen/TailDuplicator.cpp
A llvm/test/CodeGen/AArch64/tail-duplicate-debug-variance.mir
Log Message:
-----------
[TailDuplicator] Don't constrain register classes due to debug instructions
If cloning a DBG_VALUE instruction, register uses in that instruction could
lead to constraining of a virtual register that would not happen if the
DBG_VALUE was not present at all. This lead to different code with/without
debug info.
Now we only do that register class constraining if we dealing with a non
debug instruction.
Differential Revision: https://reviews.llvm.org/D149146
More information about the All-commits
mailing list