diff options
author | Stephen Hines <srhines@google.com> | 2014-10-17 08:47:43 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-10-17 13:12:25 -0700 |
commit | bfc2d688b591c574c0cc788348c74545ce894efa (patch) | |
tree | ac7eadad1814ff2f989e716c1ed0bd8fd1557e9a /include/llvm/MC | |
parent | 06d8c96f9e7be298f0e1372ccb8dea18fe149afa (diff) | |
download | external_llvm-bfc2d688b591c574c0cc788348c74545ce894efa.zip external_llvm-bfc2d688b591c574c0cc788348c74545ce894efa.tar.gz external_llvm-bfc2d688b591c574c0cc788348c74545ce894efa.tar.bz2 |
Bring in fixes for Cortex-A53 errata + build updates.
Bug: 18034609
Change-Id: I2cf0094eb9df801a84274ff29018431d75da89dd
Diffstat (limited to 'include/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCInstrDesc.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/llvm/MC/MCInstrDesc.h b/include/llvm/MC/MCInstrDesc.h index 5896de7..101778e 100644 --- a/include/llvm/MC/MCInstrDesc.h +++ b/include/llvm/MC/MCInstrDesc.h @@ -451,9 +451,12 @@ public: } /// isRematerializable - Returns true if this instruction is a candidate for - /// remat. This flag is deprecated, please don't use it anymore. If this - /// flag is set, the isReallyTriviallyReMaterializable() method is called to - /// verify the instruction is really rematable. + /// remat. This flag is only used in TargetInstrInfo method + /// isTriviallyRematerializable. + /// + /// If this flag is set, the isReallyTriviallyReMaterializable() + /// or isReallyTriviallyReMaterializableGeneric methods are called to verify + /// the instruction is really rematable. bool isRematerializable() const { return Flags & (1 << MCID::Rematerializable); } @@ -464,6 +467,9 @@ public: /// where we would like to remat or hoist the instruction, but not if it costs /// more than moving the instruction into the appropriate register. Note, we /// are not marking copies from and to the same register class with this flag. + /// + /// This method could be called by interface TargetInstrInfo::isAsCheapAsAMove + /// for different subtargets. bool isAsCheapAsAMove() const { return Flags & (1 << MCID::CheapAsAMove); } |