aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2024-11-13 12:05:53 +0000
committerGitHub <noreply@github.com>2024-11-13 12:05:53 +0000
commit856c47b884ada7dadb1081244821e0acc199cc72 (patch)
treef940feb7b2ed9b5dbb4bcdcb744b9707af1ea9c9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent76befc86dea9cad6be870c04732379f7ecf596dd (diff)
downloadllvm-856c47b884ada7dadb1081244821e0acc199cc72.zip
llvm-856c47b884ada7dadb1081244821e0acc199cc72.tar.gz
llvm-856c47b884ada7dadb1081244821e0acc199cc72.tar.bz2
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.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions