summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-06-20 18:49:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-06-20 18:49:12 +0000
commit8055b7e383f74dbc58c8085a0f0c45f4c61f8231 (patch)
treec472e0a73f8ac1437fe3d5f9202fa1590708867d /llvm/lib/Transforms/Utils/ValueMapper.cpp
parentec2b0f99f245da9ce98e41cf4cc2b6b2a02726f6 (diff)
Notes
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/ValueMapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp
index da68d3713b404..d6b01a12b9372 100644
--- a/llvm/lib/Transforms/Utils/ValueMapper.cpp
+++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp
@@ -369,7 +369,8 @@ Value *Mapper::mapValue(const Value *V) {
if (NewTy != IA->getFunctionType())
V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(),
- IA->hasSideEffects(), IA->isAlignStack());
+ IA->hasSideEffects(), IA->isAlignStack(),
+ IA->getDialect());
}
return getVM()[V] = const_cast<Value *>(V);