[MachineVerifier] Check that even generic vregs comply to regclass constraints.
authorQuentin Colombet <qcolombet@apple.com>
Thu, 22 Dec 2016 21:56:39 +0000 (21:56 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 22 Dec 2016 21:56:39 +0000 (21:56 +0000)
commitfa5960a28ba2ad10c3f9b0e0b1db6c0557250fc3
tree0e0df73b2922976446dfd95aa6b0caeb8f449418
parentf372150f733a522db18f05e5a3b9c0ffaf48731b
[MachineVerifier] Check that even generic vregs comply to regclass constraints.

We used to not check generic vregs, but that is actually a mistake given
nothing in the GlobalISel pipeline is going to fix the constraints on
target specific instructions. Therefore, the target has to have them
right from the start.

llvm-svn: 290380
llvm/lib/CodeGen/MachineVerifier.cpp