aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/blockaddress.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Inline/blockaddress.ll')
-rw-r--r--test/Transforms/Inline/blockaddress.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/Inline/blockaddress.ll b/test/Transforms/Inline/blockaddress.ll
index 4206312..8eb3072 100644
--- a/test/Transforms/Inline/blockaddress.ll
+++ b/test/Transforms/Inline/blockaddress.ll
@@ -1,8 +1,9 @@
; RUN: opt -inline -S < %s | FileCheck %s
; PR10162
-; Make sure the blockaddress is mapped correctly when doit is inlined
-; CHECK: store i8* blockaddress(@f, %here.i), i8** @ptr1, align 8
+; Make sure doit is not inlined since the blockaddress is taken
+; which could be unsafe
+; CHECK: store i8* blockaddress(@doit, %here), i8** %pptr, align 8
@i = global i32 1, align 4
@ptr1 = common global i8* null, align 8