[clang] [llvm] [HLSL] implement elementwise firstbithigh hlsl builtin (PR #111082)
Sarah Spall via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 22 13:39:36 PDT 2024
================
@@ -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:
Happy to put it in its own PR if that is what people want. I just left it here since it is such a small change.
https://github.com/llvm/llvm-project/pull/111082
More information about the cfe-commits
mailing list