From f5cec289deee9ab19385e3d5ec96fc46b78f0333 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 27 Nov 2012 08:18:15 +0000 Subject: [PATCH] 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 --- test/Transforms/SimplifyLibCalls/SPrintF.ll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.