aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Transforms/Utils/CloningTest.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-03-28 13:02:52 -0400
committerNico Weber <thakis@chromium.org>2021-03-28 13:02:52 -0400
commit20d5c42e0ef5d252b434bcb610b04f1cb79fe771 (patch)
tree95e7fb9e08aa21e2d320765aca5e85d4ceebbefb /llvm/unittests/Transforms/Utils/CloningTest.cpp
parent821547cabb5819ed42245376a9afcd11cdee5ddd (diff)
downloadllvm-20d5c42e0ef5d252b434bcb610b04f1cb79fe771.zip
llvm-20d5c42e0ef5d252b434bcb610b04f1cb79fe771.tar.gz
llvm-20d5c42e0ef5d252b434bcb610b04f1cb79fe771.tar.bz2
Revert "OpaquePtr: Turn inalloca into a type attribute"
This reverts commit 4fefed65637ec46c8c2edad6b07b5569ac61e9e5. Broke check-clang everywhere.
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()