[PATCH] D55967: [CodeExtractor] Do not extract unsafe lifetime markers

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 20 16:19:07 PST 2018


davidxl added inline comments.


================
Comment at: llvm/test/Transforms/CodeExtractor/PartialInlineAlloca4.ll:12
+; CHECK-NEXT: call void @callee_unknown_use1.{{.*}}(i8* %tmp.i
+; CHECK-NEXT: call void @llvm.lifetime.end.p0i8(i64 -1, i8* %tmp.i)
+
----------------
The purpose of the extraction is to shrink the alloca call into the outlined function and thus reducing call overhead of the outline function. This fix breaks that.




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55967/new/

https://reviews.llvm.org/D55967





More information about the llvm-commits mailing list