diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-12-15 18:22:15 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-12-15 18:22:15 +0000 |
commit | 2a26a5f1f0694c07a3d6f4dcb312476c912d1ea9 (patch) | |
tree | e79a8d56245fac9f9bb61b4527dd34ee28cffc31 | |
parent | 1b859a2306186a6018c5d2f4399dc1ceafc3603f (diff) | |
download | bcm5719-llvm-2a26a5f1f0694c07a3d6f4dcb312476c912d1ea9.tar.gz bcm5719-llvm-2a26a5f1f0694c07a3d6f4dcb312476c912d1ea9.zip |
[AArch64][GlobalISel] Remove redundant RBI comments. NFC.
It's brittle, and Doxygen already picks the overriden method's comment
anyway.
llvm-svn: 289844
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h b/llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h index 1dc87c10ad3..f763235049d 100644 --- a/llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h +++ b/llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h @@ -50,32 +50,13 @@ class AArch64RegisterBankInfo final : public RegisterBankInfo { public: AArch64RegisterBankInfo(const TargetRegisterInfo &TRI); - /// Get the cost of a copy from \p B to \p A, or put differently, - /// get the cost of A = COPY B. Since register banks may cover - /// different size, \p Size specifies what will be the size in bits - /// that will be copied around. - /// - /// \note Since this is a copy, both registers have the same size. + unsigned copyCost(const RegisterBank &A, const RegisterBank &B, unsigned Size) const override; - /// Get a register bank that covers \p RC. - /// - /// \pre \p RC is a user-defined register class (as opposed as one - /// generated by TableGen). - /// - /// \note The mapping RC -> RegBank could be built while adding the - /// coverage for the register banks. However, we do not do it, because, - /// at least for now, we only need this information for register classes - /// that are used in the description of instruction. In other words, - /// there are just a handful of them and we do not want to waste space. - /// - /// \todo This should be TableGen'ed. const RegisterBank & getRegBankFromRegClass(const TargetRegisterClass &RC) const override; - /// Get the alternative mappings for \p MI. - /// Alternative in the sense different from getInstrMapping. InstructionMappings getInstrAlternativeMappings(const MachineInstr &MI) const override; |