[llvm] [MachineOutliner] Remove LOHs from outlined candidates (PR #143617)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 09:54:58 PDT 2025


================
@@ -2184,6 +2184,12 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
                                        MachineBasicBlock::iterator &MIT,
                                        unsigned Flags) const;
 
+  /// Remove all Linker Optimization Hints associated with instructions in
+  // \p MIs and \return the number of hints removed.
+  virtual size_t clearLOHs(const SmallPtrSetImpl<MachineInstr *> &MIs) const {
----------------
ellishg wrote:

I'm guessing TLA is "three letter acronym"? 

https://github.com/llvm/llvm-project/pull/143617


More information about the llvm-commits mailing list