================ @@ -424,7 +424,7 @@ Register SPIRVGlobalRegistry::getOrCreateCompositeOrNull( LLT LLTy = LLT::scalar(64); Register SpvVecConst = CurMF->getRegInfo().createGenericVirtualRegister(LLTy); - CurMF->getRegInfo().setRegClass(SpvVecConst, &SPIRV::iIDRegClass); + CurMF->getRegInfo().setRegClass(SpvVecConst, getRegClass(SpvType)); ---------------- spall wrote:
I created issue #113486 and mentioned it in this PR. https://github.com/llvm/llvm-project/pull/111082 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits