[llvm] [AMDGPU] Fix a crash when a bool variable is used in inline asm (PR #171004)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 06:36:29 PST 2025
================
@@ -17670,6 +17670,11 @@ SITargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI_,
break;
case 'v':
switch (BitWidth) {
+ case 1:
+ RC = Subtarget->has1024AddressableVGPRs()
----------------
arsenm wrote:
Return null, that's what the other error cases do
https://github.com/llvm/llvm-project/pull/171004
More information about the llvm-commits
mailing list