[all-commits] [llvm/llvm-project] 4f7e03: [ValueTracking] Check non-zero operator before dom...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jul 21 06:56:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f7e03463f34343bc4873a4c95470c22ad9888af
https://github.com/llvm/llvm-project/commit/4f7e03463f34343bc4873a4c95470c22ad9888af
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking] Check non-zero operator before dominating condition (NFC)
Prefer checking for non-zero operator before non-zero via
dominating conditions. This is to make sure we don't have
compile-time regressions when special cases that are currently
part of isKnownNonZero() get moved into isKnownNonZeroFromOperator().
More information about the All-commits
mailing list