[PATCH] D144472: [InstCombine][debuginfo] Update valueCoversEntireFragment for fixed size fragment and scalable value.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 09:03:37 PST 2023
aprantl added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll:25
+; CHECK-NEXT: [[ARR:%.*]] = alloca [4 x i32], align 8
+; CHECK-NEXT: call void @llvm.dbg.declare(metadata ptr [[ARR]], metadata [[META8]], metadata !DIExpression()), !dbg [[DBG15:![0-9]+]]
+; CHECK-NEXT: store <vscale x 2 x i32> [[X:%.*]], ptr [[ARR]], align 8
----------------
This IR isn't well-formed and a future verifier might reject it. Can you created two distinct DISubprograms and local variables for each of the functions?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144472/new/
https://reviews.llvm.org/D144472
More information about the llvm-commits
mailing list