llvm-project
703baf5f - [Sparc] Fix inline asm operands bound to %f32-%f62 (#247420)

Commit
8 hours ago
[Sparc] Fix inline asm operands bound to %f32-%f62 (#247420) An inline asm double operand bound to one of %f32-%f62 (D16-D31), as in "{f32}" or "{d16}", hit an assertion in getCopyToParts. The generic lookup returned the register in CanonicalFPRegs, which exists only for the assembler and comes first in the register class list, and whose first value type is f32. Use the allocatable class of the register instead. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading