[llvm-commits] [llvm] r168690 - /llvm/trunk/test/Transforms/SimplifyLibCalls/SPrintF.ll

NAKAMURA Takumi geek4civic at gmail.com
Tue Nov 27 00:18:15 PST 2012


Author: chapuni
Date: Tue Nov 27 02:18:15 2012
New Revision: 168690

URL: http://llvm.org/viewvc/llvm-project?rev=168690&view=rev
Log:
llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll: Handle @sprintf() with -instcombine, not -simplify-libcalls.

Modified:
    llvm/trunk/test/Transforms/SimplifyLibCalls/SPrintF.ll

Modified: llvm/trunk/test/Transforms/SimplifyLibCalls/SPrintF.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/SPrintF.ll?rev=168690&r1=168689&r2=168690&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/SPrintF.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/SPrintF.ll Tue Nov 27 02:18:15 2012
@@ -1,7 +1,6 @@
 ; Test that the SPrintFOptimizer works correctly
-; RUN: opt < %s -simplify-libcalls -S | \
+; RUN: opt < %s -instcombine -S | \
 ; RUN:   not grep "call.*sprintf"
-; REQUIRES: suppressed
 
 ; This transformation requires the pointer size, as it assumes that size_t is
 ; the size of a pointer.





More information about the llvm-commits mailing list