[PATCH] D22373: [GlobalISel] Introduce a simple instruction selector.

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 12:58:30 PDT 2016


ab marked an inline comment as done.

================
Comment at: lib/CodeGen/MachineRegisterInfo.cpp:138-141
@@ -116,6 +137,6 @@
 void MachineRegisterInfo::setSize(unsigned VReg, unsigned Size) {
   // Check that VReg doesn't have a class.
   assert(!getRegClassOrRegBank(VReg).is<const TargetRegisterClass *>() &&
          "Can't set the size of a non-generic virtual register");
   getVRegToSize()[VReg] = Size;
 }
----------------
Got around to investigating; fixed (and added the assert) in r276012.


https://reviews.llvm.org/D22373





More information about the llvm-commits mailing list