instcombine: Migrate strpbrk optimizations
This patch migrates the strpbrk optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 167105
Showing
- llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp 0 additions, 40 deletionsllvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
- llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp 37 additions, 0 deletionsllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
- llvm/test/Transforms/InstCombine/strpbrk-1.ll 68 additions, 0 deletionsllvm/test/Transforms/InstCombine/strpbrk-1.ll
- llvm/test/Transforms/InstCombine/strpbrk-2.ll 23 additions, 0 deletionsllvm/test/Transforms/InstCombine/strpbrk-2.ll
- llvm/test/Transforms/SimplifyLibCalls/StrPBrk.ll 0 additions, 25 deletionsllvm/test/Transforms/SimplifyLibCalls/StrPBrk.ll
Loading
Please register or sign in to comment