summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-11-27 08:18:15 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-11-27 08:18:15 +0000
commitf5cec289deee9ab19385e3d5ec96fc46b78f0333 (patch)
tree64b4045615d5fd15b69223abdf103f6358c82276 /test
parent7b39e3dbf8eb9b5a1e7a65056808d6927d0a6f02 (diff)
downloadllvm-f5cec289deee9ab19385e3d5ec96fc46b78f0333.tar.gz
llvm-f5cec289deee9ab19385e3d5ec96fc46b78f0333.tar.bz2
llvm-f5cec289deee9ab19385e3d5ec96fc46b78f0333.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/SimplifyLibCalls/SPrintF.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyLibCalls/SPrintF.ll b/test/Transforms/SimplifyLibCalls/SPrintF.ll
index 00ce52a698..1e65b5b17a 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.