From: NAKAMURA Takumi Date: Tue, 27 Nov 2012 08:18:15 +0000 (+0000) Subject: llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll: Handle @sprintf() with -instcombine... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f5cec289deee9ab19385e3d5ec96fc46b78f0333;p=oota-llvm.git llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll: Handle @sprintf() with -instcombine, not -simplify-libcalls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168690 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/SimplifyLibCalls/SPrintF.ll b/test/Transforms/SimplifyLibCalls/SPrintF.ll index 00ce52a6986..1e65b5b17a6 100644 --- a/test/Transforms/SimplifyLibCalls/SPrintF.ll +++ b/test/Transforms/SimplifyLibCalls/SPrintF.ll @@ -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.