[PATCH] D70752: LowerDbgDeclare: look through bitcasts.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 2 11:20:12 PST 2019
aprantl added inline comments.
================
Comment at: llvm/test/Transforms/Util/dbg-call-bitcast.ll:7
+ call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %2)
+; CHECK: call void @llvm.dbg.value(metadata i32* %1, {{.*}}, metadata !DIExpression(DW_OP_deref)
+ call void @llvm.dbg.declare(metadata i32* %1, metadata !16, metadata !DIExpression()), !dbg !19
----------------
What is %1 going to be after this transformation? Can you add a check for that, too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70752/new/
https://reviews.llvm.org/D70752
More information about the llvm-commits
mailing list