[all-commits] [llvm/llvm-project] 6a46c6: Ensure KnownBits passed when calculating from rang...
LU-JOHN via All-commits
all-commits at lists.llvm.org
Wed Apr 2 20:17:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a46c6c865270ceb01bcaef4a2e4c8df56a8800a
https://github.com/llvm/llvm-project/commit/6a46c6c865270ceb01bcaef4a2e4c8df56a8800a
Author: LU-JOHN <John.Lu at amd.com>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
Ensure KnownBits passed when calculating from range md has right size (#132985)
KnownBits passed to computeKnownBitsFromRangeMetadata must have the same
bit width as the range metadata bit width. Otherwise the calculated
results will be incorrect.
---------
Signed-off-by: John Lu <John.Lu at amd.com>
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