[PATCH] D126661: [MachineVerifier] Fix crash on early clobbered subreg operands.

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 06:39:23 PDT 2022


dfukalov added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:2269
+        (VNI->def != DefIdx &&
+         !(VNI->def.isEarlyClobber() && DefIdx > VNI->def))) {
       report("Inconsistent valno->def", MO, MONum);
----------------
@foad would you please approve the condition means your suggestion "VNI-def is the early clobber slot and DefIdx is the normal slot"?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126661/new/

https://reviews.llvm.org/D126661



More information about the llvm-commits mailing list