[PATCH] D46285: [InstCombine] snprintf optimizations

Joe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 15:48:19 PDT 2018


rja added inline comments.


================
Comment at: test/Transforms/InstCombine/snprintf.ll:10
+
+define dso_local void @test_not_const_fmt(i8* %buf, i8* %fmt) #0 {
+; CHECK-LABEL: @test_not_const_fmt(
----------------
Remove dso_local

Add test for 

snprintf(buf, 0, fmt)


https://reviews.llvm.org/D46285





More information about the llvm-commits mailing list