[all-commits] [llvm/llvm-project] ba46ae: [InstCombine] Merge foldAndOfICmps() and foldOrOfI...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Apr 22 03:48:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba46ae7bd85351359bb940c36fec67817a0e376d
https://github.com/llvm/llvm-project/commit/ba46ae7bd85351359bb940c36fec67817a0e376d
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-22 (Fri, 22 Apr 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
Log Message:
-----------
[InstCombine] Merge foldAndOfICmps() and foldOrOfICmps() (NFCI)
Folds are supposed to always be added in conjugated pairs for and
and or. Merge the two functions to make folds for which this is
currently not the case more obvious.
More information about the All-commits
mailing list