[llvm] 279c155 - [CodeGen] Remove unused function isMSInlineAsm (#69132)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 23:02:03 PDT 2023


Author: Kazu Hirata
Date: 2023-10-17T23:01:59-07:00
New Revision: 279c155fb224f5078e1fc8cc7ad9616442573d4a

URL: https://github.com/llvm/llvm-project/commit/279c155fb224f5078e1fc8cc7ad9616442573d4a
DIFF: https://github.com/llvm/llvm-project/commit/279c155fb224f5078e1fc8cc7ad9616442573d4a.diff

LOG: [CodeGen] Remove unused function isMSInlineAsm (#69132)

The last use was removed by:

  commit ee08897fb8d4b59b4609f6e837205e7a089b6fb7
  Author: Reid Kleckner <reid at kleckner.net>
  Date:   Tue Dec 10 18:27:32 2013 +0000

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/MachineInstr.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index 8367f999fcc76d3..6afc2d5cbe6e736 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/include/llvm/CodeGen/MachineInstr.h
@@ -1365,12 +1365,6 @@ class MachineInstr
            getOpcode() == TargetOpcode::INLINEASM_BR;
   }
 
-  /// FIXME: Seems like a layering violation that the AsmDialect, which is X86
-  /// specific, be attached to a generic MachineInstr.
-  bool isMSInlineAsm() const {
-    return isInlineAsm() && getInlineAsmDialect() == InlineAsm::AD_Intel;
-  }
-
   bool isStackAligningInlineAsm() const;
   InlineAsm::AsmDialect getInlineAsmDialect() const;
 


        


More information about the llvm-commits mailing list