aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Transforms/Utils/CloningTest.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2021-03-28 13:05:17 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2021-03-28 13:35:21 -0400
commitfc9df309917e57de704f3ce4372138a8d4a23d7a (patch)
tree677d1c55b50916aefffcfb8d5eb345a4e3e3d7ec /llvm/unittests/Transforms/Utils/CloningTest.cpp
parent01ae6e5ead64c033134a1ee68fb0bf6ec93b4c40 (diff)
downloadllvm-fc9df309917e57de704f3ce4372138a8d4a23d7a.zip
llvm-fc9df309917e57de704f3ce4372138a8d4a23d7a.tar.gz
llvm-fc9df309917e57de704f3ce4372138a8d4a23d7a.tar.bz2
Reapply "OpaquePtr: Turn inalloca into a type attribute"
This reverts commit 20d5c42e0ef5d252b434bcb610b04f1cb79fe771.
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 6bab802..34802b6 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)
+ declare void @a(i32* inalloca(i32))
define void @foo() {
%a = alloca inalloca i32
- call void @a(i32* inalloca %a)
+ call void @a(i32* inalloca(i32) %a)
ret void
}
declare void @bar()