[GlobalISel] Introduce InlineAsmLowering class
authorKonstantin Schwarz <konstantin.schwarz@hightec-rt.com>
Wed, 8 Apr 2020 12:40:43 +0000 (14:40 +0200)
committerKonstantin Schwarz <konstantin.schwarz@hightec-rt.com>
Mon, 20 Apr 2020 13:10:18 +0000 (15:10 +0200)
commit12030494fce2aefa338f5bc33c19611e015003f2
treeb3e9b4cb97ddf9cc95beee55993a7aac0ac76402
parent61bccda9d9d920c72f49025f11e8601daeb096ec
[GlobalISel] Introduce InlineAsmLowering class

Summary:
Similar to the CallLowering class used for lowering LLVM IR calls to MIR calls,
we introduce a separate class for lowering LLVM IR inline asm to MIR INLINEASM.

There is no functional change yet, all existing tests should pass.

Reviewers: arsenm, dsanders, aemerson, volkan, t.p.northover, paquette

Reviewed By: aemerson

Subscribers: gargaroff, wdng, mgorny, rovka, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78316
llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h [new file with mode: 0644]
llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp [new file with mode: 0644]
llvm/lib/Target/AArch64/AArch64Subtarget.cpp
llvm/lib/Target/AArch64/AArch64Subtarget.h