[all-commits] [llvm/llvm-project] 2d48a7: [KnownBits] Use early return for unknown LHS for s...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed May 24 02:04:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d48a771fc00681414c54ea3936bff91f3b253c4
https://github.com/llvm/llvm-project/commit/2d48a771fc00681414c54ea3936bff91f3b253c4
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-05-24 (Wed, 24 May 2023)
Changed paths:
M llvm/lib/Support/KnownBits.cpp
Log Message:
-----------
[KnownBits] Use early return for unknown LHS for shifts (NFC)
Make it clear that the leading/trailing zeros handling is only
relevant for the unknown LHS case, which is a fast path to avoid
the full shift amount loop in cases where it would not produce
better results.
More information about the All-commits
mailing list