diff options
author | Craig Topper <craig.topper@intel.com> | 2019-10-05 23:21:17 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-10-05 23:21:17 +0000 |
commit | 2decdf42b95a8bdcbd33cd73e82a4efc76b91494 (patch) | |
tree | c82010e030c68331fa91a5ce1e180c1214df61fb /llvm/lib | |
parent | 8815be04ec1f333564591d9593735f22efa9bee5 (diff) | |
download | bcm5719-llvm-2decdf42b95a8bdcbd33cd73e82a4efc76b91494.tar.gz bcm5719-llvm-2decdf42b95a8bdcbd33cd73e82a4efc76b91494.zip |
[FastISel] Copy the inline assembly dialect to the INLINEASM instruction.
Fixes PR43575.
llvm-svn: 373836
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 8904283ff8d..0fd2bd7815b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -1303,6 +1303,7 @@ bool FastISel::selectCall(const User *I) { ExtraInfo |= InlineAsm::Extra_HasSideEffects; if (IA->isAlignStack()) ExtraInfo |= InlineAsm::Extra_IsAlignStack; + ExtraInfo |= IA->getDialect() * InlineAsm::Extra_AsmDialect; BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::INLINEASM)) |