Details
- Reviewers
arsenm - Commits
- rG922197d664d3: [TBLGEN] Allow to override RC weight
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/Target/Target.td | ||
---|---|---|
279 | Needs more explanation. What does the weight mean? |
llvm/include/llvm/Target/Target.td | ||
---|---|---|
279 | That's what TargetRegisterClass::getRegClassWeight() will return. It doesn't have much more info though: "Get the weight in units of pressure for this register class." https://llvm.org/doxygen/classllvm_1_1TargetRegisterInfo.html#a55dc7cf067f4fdc07a902ca0f3e3a87d Normally tablegen will use weight equal to a number of regunits per register, well "normalized". This value is used to measure register pressure. |
llvm/utils/TableGen/RegisterInfoEmitter.cpp | ||
---|---|---|
207 | Single quotes |
Needs more explanation. What does the weight mean?