[PATCH] D66695: msan, codegen, instcombine: Keep more lifetime markers used for msan
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 23 23:05:31 PDT 2019
lebedev.ri added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll:37-50
+define void @msan() sanitize_memory {
+entry:
+ ; CHECK-LABEL: @msan(
+ %text = alloca i8, align 1
+
+ call void @llvm.lifetime.start.p0i8(i64 1, i8* %text)
+ call void @llvm.lifetime.end.p0i8(i64 1, i8* %text)
----------------
Would be good to have end-to-end test (`-O0`/`-O1`/`-O2`/`-O3`) in PhaseOrdering.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66695/new/
https://reviews.llvm.org/D66695
More information about the cfe-commits
mailing list