[PATCH] D82765: GlobalISel: Disallow undef generic virtual register uses
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 16:18:41 PDT 2020
arsenm marked an inline comment as done.
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:1704
+ // run on the SSA function just before phi elimination.
+ if (MO->isUndef() && MRI->isSSA())
+ report("Generic virtual register use cannot be undef", MO, MONum);
----------------
The isSSA check here is a leftover and irrelevant for generic vregs
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82765/new/
https://reviews.llvm.org/D82765
More information about the llvm-commits
mailing list