diff options
author | Meador Inge <meadori@codesourcery.com> | 2012-11-26 00:24:07 +0000 |
---|---|---|
committer | Meador Inge <meadori@codesourcery.com> | 2012-11-26 00:24:07 +0000 |
commit | dfb3b1a779c62c1ee41f9cddcaad0b89278052ae (patch) | |
tree | 809db6e0fb93be4b0f656268dd396aa9ef419334 /test/Transforms/SimplifyLibCalls | |
parent | 15d099a790f3fd6f8f643c4e7c50a1659f4fc92b (diff) |
instcombine: Migrate *abs optimizations
This patch migrates the *abs optimizations from the simplify-libcalls
pass into the instcombine library call simplifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyLibCalls')
-rw-r--r-- | test/Transforms/SimplifyLibCalls/abs.ll | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/Transforms/SimplifyLibCalls/abs.ll b/test/Transforms/SimplifyLibCalls/abs.ll deleted file mode 100644 index 3934a5b98f..0000000000 --- a/test/Transforms/SimplifyLibCalls/abs.ll +++ /dev/null @@ -1,11 +0,0 @@ -; RUN: opt < %s -simplify-libcalls -S | grep "select i1 %ispos" -; PR2337 - -define i32 @test(i32 %x) { -entry: - %call = call i32 @abs( i32 %x ) ; <i32> [#uses=1] - ret i32 %call -} - -declare i32 @abs(i32) - |