arsenm added a comment. getOpRegClass behaves the way it does because otherwise it will fail on any generic or variadic instructions, e.g. copy or a call instruction Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56002/new/ https://reviews.llvm.org/D56002