[all-commits] [llvm/llvm-project] 61d22f: [Greedy RA] Add a check to MachineVerifier
serguei-katkov via All-commits
all-commits at lists.llvm.org
Sun Apr 18 22:41:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61d22f2e4e916cdb01fd57d9145a25a5f30cc780
https://github.com/llvm/llvm-project/commit/61d22f2e4e916cdb01fd57d9145a25a5f30cc780
Author: Serguei Katkov <serguei.katkov at azul.com>
Date: 2021-04-19 (Mon, 19 Apr 2021)
Changed paths:
M llvm/lib/CodeGen/MachineVerifier.cpp
A llvm/test/CodeGen/X86/statepoint-invoke-ra1.ll
Log Message:
-----------
[Greedy RA] Add a check to MachineVerifier
If Virtual Register is alive in landing pad its def must be
before the call causing the exception or it should be statepoint instruction itself and
in this case def actually means the relocation of gc pointer and is alive in
landing pad.
The test shows the triggering this check for an option under development
use-registers-for-gc-values-in-landing-pad which is off by default until
it is functionally correct.
Reviewers: reames, void, jyknight, nickdesaulniers, efriedma, arsenm, rnk
Reviewed By: rnk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D100525
More information about the All-commits
mailing list