[all-commits] [llvm/llvm-project] 856c47: ConstraintElim: assert on invalid union field (NFC...
Ramkumar Ramachandra via All-commits
all-commits at lists.llvm.org
Wed Nov 13 04:06:14 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 856c47b884ada7dadb1081244821e0acc199cc72
https://github.com/llvm/llvm-project/commit/856c47b884ada7dadb1081244821e0acc199cc72
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-11-13 (Wed, 13 Nov 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Log Message:
-----------
ConstraintElim: assert on invalid union field (NFC) (#115898)
getContextInst currently returns an invalid union field, when it is
called with a ConditionFact, although existing callers don't do this. In
order to error out early and serve as documentation for future callers,
add an assert forbidding the behavior.
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