[all-commits] [llvm/llvm-project] 641065: [Constant] Make Constant::getSplatValue return poi...
Luke Lau via All-commits
all-commits at lists.llvm.org
Thu May 29 07:01:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64106581b9d4f68eb4911c402b12b154d77a9eb0
https://github.com/llvm/llvm-project/commit/64106581b9d4f68eb4911c402b12b154d77a9eb0
Author: Luke Lau <luke at igalia.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[Constant] Make Constant::getSplatValue return poison on poison (#141870)
This is a follow up from #141845.
TargetTransformInfo::getOperandInfo needs to be updated to check for
undef values as otherwise a splat is considered a constant, and some
RISC-V cost model tests will start adding a cost to materialize the
constant.
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