diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-27 08:18:15 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-27 08:18:15 +0000 |
| commit | 62be55783d4163a6eeddcbece85785db9610f066 (patch) | |
| tree | ba5759895c42b570d56ddb9f089673c01249511a /llvm/test/Transforms/SimplifyLibCalls | |
| parent | eb42eebee8f3f95def3b8fb40eb7dfe8f2ddc69d (diff) | |
| download | bcm5719-llvm-62be55783d4163a6eeddcbece85785db9610f066.tar.gz bcm5719-llvm-62be55783d4163a6eeddcbece85785db9610f066.zip | |
llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll: Handle @sprintf() with -instcombine, not -simplify-libcalls.
llvm-svn: 168690
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls')
| -rw-r--r-- | llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll b/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll index 00ce52a6986..1e65b5b17a6 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/SPrintF.ll +++ b/llvm/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. |

