diff options
| author | Johannes Reifferscheid <jreiffers@google.com> | 2024-06-28 07:31:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 07:31:33 +0200 |
| commit | 52216349b6faf41351f4bd370439031c416b8f9b (patch) | |
| tree | bcb4bc1c57b20bdc851e0be0e8012dd9afd6d2ae /llvm/lib/Transforms/Utils/LowerSwitch.cpp | |
| parent | fcffb2c0240bb3a08b3e14486ea6abd23fa2c44f (diff) | |
| download | llvm-52216349b6faf41351f4bd370439031c416b8f9b.zip llvm-52216349b6faf41351f4bd370439031c416b8f9b.tar.gz llvm-52216349b6faf41351f4bd370439031c416b8f9b.tar.bz2 | |
Do not trigger UB during AffineExpr parsing. (#96896)
Currently, parsing expressions that are undefined will trigger UB during
compilation (e.g. `9223372036854775807 * 2`). This change instead
leaves the expressions as they were.
This change is an NFC for compilations that did not previously involve
UB.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
0 files changed, 0 insertions, 0 deletions
