[LLVMdev] TargetRegisterClass for Physical Register

Christopher Lamb christopher.lamb at gmail.com
Mon Jun 18 17:02:53 PDT 2007


Take a look at getPhysicalRegisterRegClass(
         const MRegisterInfo *MRI,
         MVT::ValueType VT,
         unsigned reg)

in ScheduleDAG.cpp.

--
Christopher Lamb



On Jun 18, 2007, at 4:52 PM, David A. Greene wrote:

> How do I get the TargetRegisterClass for a physical register?
> SSARegMap::getRegClass only works for virtual registers.
>
>                                                -Dave
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev








More information about the llvm-dev mailing list