We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82ac46 commit ab05ae5Copy full SHA for ab05ae5
llvm/include/llvm/MC/MCRegisterInfo.h
@@ -399,7 +399,9 @@ class MCRegisterInfo {
399
/// Returns true if the given register is constant.
400
bool isConstant(MCRegister RegNo) const { return get(RegNo).IsConstant; }
401
402
- /// Returns true if the given register is artificial.
+ /// Returns true if the given register is artificial, which means it
403
+ /// represents a regunit that is not separately addressable but still needs to
404
+ /// be modelled, such as the top 16-bits of a 32-bit GPR.
405
bool isArtificial(MCRegister RegNo) const { return get(RegNo).IsArtificial; }
406
407
/// Return the number of registers this target has (useful for
0 commit comments