mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
[AsmPrinter] Use the per-function subtarget to emit inline asm instructions that
are not at the file level. Previously, the default subtarget created from the target triple was used to emit inline asm instructions. Compilation would fail in cases where the feature bits necessary to assemble an inline asm instruction in a function weren't set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -504,7 +504,8 @@ private:
|
||||
|
||||
/// Emit a blob of inline asm to the output streamer.
|
||||
void
|
||||
EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = nullptr,
|
||||
EmitInlineAsm(StringRef Str, const MCSubtargetInfo &STI,
|
||||
const MDNode *LocMDNode = nullptr,
|
||||
InlineAsm::AsmDialect AsmDialect = InlineAsm::AD_ATT) const;
|
||||
|
||||
/// This method formats and emits the specified machine instruction that is an
|
||||
|
Reference in New Issue
Block a user