diff options
author | Oliver Stannard <oliver.stannard@linaro.org> | 2021-03-29 11:31:17 +0100 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@linaro.org> | 2021-03-29 11:32:22 +0100 |
commit | 07e46367baeca96d84b03fa215b41775f69d5989 (patch) | |
tree | 154a7d4ca86da09b4610d7be3b4b4fb72e612f42 /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
parent | b5da813fe91ee1d7b965bf3aa72e56a13d02dd7d (diff) | |
download | llvm-07e46367baeca96d84b03fa215b41775f69d5989.zip llvm-07e46367baeca96d84b03fa215b41775f69d5989.tar.gz llvm-07e46367baeca96d84b03fa215b41775f69d5989.tar.bz2 |
Revert "Reapply "OpaquePtr: Turn inalloca into a type attribute""
Reverting because test 'Bindings/Go/go.test' is failing on most
buildbots.
This reverts commit fc9df309917e57de704f3ce4372138a8d4a23d7a.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/ValueMapper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index d875188..ae839bd 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp @@ -945,8 +945,7 @@ void Mapper::remapInstruction(Instruction *I) { AttributeList Attrs = CB->getAttributes(); for (unsigned i = 0; i < Attrs.getNumAttrSets(); ++i) { for (Attribute::AttrKind TypedAttr : - {Attribute::ByVal, Attribute::StructRet, Attribute::ByRef, - Attribute::InAlloca}) { + {Attribute::ByVal, Attribute::StructRet, Attribute::ByRef}) { if (Type *Ty = Attrs.getAttribute(i, TypedAttr).getValueAsType()) { Attrs = Attrs.replaceAttributeType(C, i, TypedAttr, TypeMapper->remapType(Ty)); |