diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-03-06 13:23:57 -0500 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-03-28 11:12:23 -0400 |
commit | 4fefed65637ec46c8c2edad6b07b5569ac61e9e5 (patch) | |
tree | 171d28547e3a06a99265af6ead0f579bcf30a1d8 /llvm/unittests/Transforms/Utils/CloningTest.cpp | |
parent | c5243c63cda3c740d6e9c7e501f6518c21688da3 (diff) | |
download | llvm-4fefed65637ec46c8c2edad6b07b5569ac61e9e5.zip llvm-4fefed65637ec46c8c2edad6b07b5569ac61e9e5.tar.gz llvm-4fefed65637ec46c8c2edad6b07b5569ac61e9e5.tar.bz2 |
OpaquePtr: Turn inalloca into a type attribute
I think byval/sret and the others are close to being able to rip out
the code to support the missing type case. A lot of this code is
shared with inalloca, so catch this up to the others so that can
happen.
Diffstat (limited to 'llvm/unittests/Transforms/Utils/CloningTest.cpp')
-rw-r--r-- | llvm/unittests/Transforms/Utils/CloningTest.cpp | 4 |
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() |