[llvm] GlobalISel/MachineIRBuilder: Construct DstOp with VRegAttrs (PR #113581)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 15:43:40 PDT 2024


================
@@ -356,6 +356,23 @@ GISelInstProfileBuilder::addNodeIDRegType(const RegisterBank *RB) const {
   return *this;
 }
 
+const GISelInstProfileBuilder &GISelInstProfileBuilder::addNodeIDRegType(
+    MachineRegisterInfo::VRegAttrs Attrs) const {
+  LLT Ty = Attrs.Ty;
+  if (Ty.isValid())
----------------
arsenm wrote:

This should always be valid 

https://github.com/llvm/llvm-project/pull/113581


More information about the llvm-commits mailing list