[all-commits] [llvm/llvm-project] dd2a6d: [InstCombine] Fold memchr of sequences of same cha...
Martin Sebor via All-commits
all-commits at lists.llvm.org
Tue Jun 7 12:49:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dd2a6d78ee1d8b38960e0767b0d6dfd2e84543a4
https://github.com/llvm/llvm-project/commit/dd2a6d78ee1d8b38960e0767b0d6dfd2e84543a4
Author: Martin Sebor <msebor at redhat.com>
Date: 2022-06-07 (Tue, 07 Jun 2022)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
A llvm/test/Transforms/InstCombine/memchr-6.ll
M llvm/test/Transforms/InstCombine/memchr.ll
A llvm/test/Transforms/InstCombine/strchr-3.ll
Log Message:
-----------
[InstCombine] Fold memchr of sequences of same characters
Enhance memchr libcall folder to handle constant arrays consisting
of one or two sequences of cosecutive equal characters.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D126515
More information about the All-commits
mailing list