aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Transforms/Utils/CloningTest.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@linaro.org>2021-03-29 11:31:17 +0100
committerOliver Stannard <oliver.stannard@linaro.org>2021-03-29 11:32:22 +0100
commit07e46367baeca96d84b03fa215b41775f69d5989 (patch)
tree154a7d4ca86da09b4610d7be3b4b4fb72e612f42 /llvm/unittests/Transforms/Utils/CloningTest.cpp
parentb5da813fe91ee1d7b965bf3aa72e56a13d02dd7d (diff)
downloadllvm-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/unittests/Transforms/Utils/CloningTest.cpp')
-rw-r--r--llvm/unittests/Transforms/Utils/CloningTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Transforms/Utils/CloningTest.cpp b/llvm/unittests/Transforms/Utils/CloningTest.cpp
index 34802b6..6bab802 100644
--- a/llvm/unittests/Transforms/Utils/CloningTest.cpp
+++ b/llvm/unittests/Transforms/Utils/CloningTest.cpp
@@ -718,10 +718,10 @@ TEST(CloneFunction, CloneEmptyFunction) {
TEST(CloneFunction, CloneFunctionWithInalloca) {
StringRef ImplAssembly = R"(
- declare void @a(i32* inalloca(i32))
+ declare void @a(i32* inalloca)
define void @foo() {
%a = alloca inalloca i32
- call void @a(i32* inalloca(i32) %a)
+ call void @a(i32* inalloca %a)
ret void
}
declare void @bar()