[all-commits] [llvm/llvm-project] b58ae6: [InstCombine] Sync KnownBits logic for select arms
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jul 1 06:52:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b58ae6bd2708a5c3757fe7ec722b6a87b98fd81a
https://github.com/llvm/llvm-project/commit/b58ae6bd2708a5c3757fe7ec722b6a87b98fd81a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Log Message:
-----------
[InstCombine] Sync KnownBits logic for select arms
Extract an adjustKnownBitsForSelectArm() helper for the
ValueTracking logic and make use of it in SimplifyDemandedBits().
This fixes a consistency violation under instcombine-verify-known-bits.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list