[PATCH] D45344: Fold malloc + memset to calloc even for llvm.memset

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 23:52:24 PDT 2018


lebedev.ri added a comment.

@xbolva00 please always always upload all the patches with the full context (`-U99999`)



================
Comment at: test/Transforms/InstCombine/memset-1.ll:30
+
+define i8* @pr45344(i32 %n) #0 {
+  %n.addr = alloca i32, align 4
----------------
There is no https://bugs.llvm.org/show_bug.cgi?id=45344
You mean D45344?
Then it may be better not to use such a specific name.


https://reviews.llvm.org/D45344





More information about the llvm-commits mailing list