[PATCH] D80066: ValueMapper does not preserve inline assembly dialect when remapping the type
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 17 15:58:32 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5f65faef2c61: ValueMapper does not preserve inline assembly dialect when remapping the type (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80066/new/
https://reviews.llvm.org/D80066
Files:
llvm/lib/Transforms/Utils/ValueMapper.cpp
Index: llvm/lib/Transforms/Utils/ValueMapper.cpp
===================================================================
--- llvm/lib/Transforms/Utils/ValueMapper.cpp
+++ llvm/lib/Transforms/Utils/ValueMapper.cpp
@@ -368,7 +368,8 @@
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80066.264519.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200517/32377f2f/attachment.bin>
More information about the llvm-commits
mailing list