diff options
Diffstat (limited to 'contrib/llvm/lib/CodeGen/RegisterClassInfo.h')
-rw-r--r-- | contrib/llvm/lib/CodeGen/RegisterClassInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/CodeGen/RegisterClassInfo.h b/contrib/llvm/lib/CodeGen/RegisterClassInfo.h index 6f7d9c9..d21fd67 100644 --- a/contrib/llvm/lib/CodeGen/RegisterClassInfo.h +++ b/contrib/llvm/lib/CodeGen/RegisterClassInfo.h @@ -112,7 +112,7 @@ public: /// register, so a register allocator needs to track its liveness and /// availability. bool isAllocatable(unsigned PhysReg) const { - return TRI->get(PhysReg).inAllocatableClass && !isReserved(PhysReg); + return TRI->isInAllocatableClass(PhysReg) && !isReserved(PhysReg); } }; } // end namespace llvm |