[llvm] [ValueTracking][NFC] Drop outdated TODO in canCreateUndefOrPoison (PR #139915)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 05:53:44 PDT 2025
================
@@ -7788,8 +7788,6 @@ static bool canCreateUndefOrPoison(const Operator *Op, UndefPoisonKind Kind,
case Instruction::FRem:
return false;
case Instruction::GetElementPtr:
- // inbounds is handled above
- // TODO: what about inrange on constexpr?
----------------
fhahn wrote:
with the comment gone, fold the `GetElementPtr` case to the cases above?
https://github.com/llvm/llvm-project/pull/139915
More information about the llvm-commits
mailing list