[llvm-dev] unified register set question

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 9 12:41:03 PST 2020



> On Jan 9, 2020, at 15:28, Bagel via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> My target machine uses the same 64-bit registers for integers and floating point.  Do I have to specify a different register class for floating point
> that uses the same set of registers?  Is there a target which does this I can copy?

No, you can add any combination of types to the register class. AMDGPU doesn’t distinguish between FP and int registers.

-Matt


More information about the llvm-dev mailing list