aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2021-04-13 17:31:23 +0700
committerSerguei Katkov <serguei.katkov@azul.com>2021-04-19 12:31:18 +0700
commit61d22f2e4e916cdb01fd57d9145a25a5f30cc780 (patch)
tree07f5913c80773e43ccb2bf291432e2ec79bd4473 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent35e95c68176d599780c3907afe6c0c4c5162672f (diff)
downloadllvm-61d22f2e4e916cdb01fd57d9145a25a5f30cc780.zip
llvm-61d22f2e4e916cdb01fd57d9145a25a5f30cc780.tar.gz
llvm-61d22f2e4e916cdb01fd57d9145a25a5f30cc780.tar.bz2
[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
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions