[PATCH] D43916: Named VReg support for MIR
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 29 23:48:57 PDT 2018
thegameg added inline comments.
================
Comment at: lib/CodeGen/MIRParser/MIRParser.cpp:545
+ const VRegInfo &Info = *P.second;
+ populateVRegInfo(Info, "");
}
----------------
The error will print: “Cannot determine class/bank of virtual register in function ‘func’”
Before this change P.first was the vreg ID which was a useful error message when you forget the reg class on a def.
Can you print the register ID if it’s a vreg and its name if it’s a named vreg?
Repository:
rL LLVM
https://reviews.llvm.org/D43916
More information about the llvm-commits
mailing list