[all-commits] [llvm/llvm-project] 3a743a: [InstCombine] Fix memrchr logic error that prevent...
Martin Sebor via All-commits
all-commits at lists.llvm.org
Thu Jun 30 10:35:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a743a589244d02c8b05e4e514a8d7f0d235b24d
https://github.com/llvm/llvm-project/commit/3a743a589244d02c8b05e4e514a8d7f0d235b24d
Author: Martin Sebor <msebor at redhat.com>
Date: 2022-06-30 (Thu, 30 Jun 2022)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/Transforms/InstCombine/memrchr-3.ll
Log Message:
-----------
[InstCombine] Fix memrchr logic error that prevents folding
Correct a logic bug in the memrchr enhancement added in D123629 that
makes it ineffective in a subset of cases.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D128856
More information about the All-commits
mailing list