diff options
| author | Kunqiu Chen <camsyn@foxmail.com> | 2025-11-01 17:01:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-01 17:01:30 +0800 |
| commit | 82cf54fbf6a7cd185cfe2279ca9d0cf4c4ea16e0 (patch) | |
| tree | a7542644af525b24b681f6f48a8ab230bcff9127 /llvm/lib/Analysis/HashRecognize.cpp | |
| parent | c07440b8879c61c1c388499278197ce6970f2472 (diff) | |
| download | llvm-82cf54fbf6a7cd185cfe2279ca9d0cf4c4ea16e0.zip llvm-82cf54fbf6a7cd185cfe2279ca9d0cf4c4ea16e0.tar.gz llvm-82cf54fbf6a7cd185cfe2279ca9d0cf4c4ea16e0.tar.bz2 | |
[UTC] CHECK-EMPTY instead of skipping blank lines (#165718)
Previously, any blank lines in IR were ignored by UTC, leading to more
fragile `CHECK`s being generated.
This change lets UTC, 1) emit `CHECK-EMPTY` to check blank lines, and 2)
generate more `CHECK-NEXT`s, landing the discussion
https://github.com/llvm/llvm-project/pull/165419#issuecomment-3457572422.
Moreover, this change also aligns the behavior of IR check-gen to ASM
check-gen, which has been emitting `CHECK-EMPTY` since
https://github.com/llvm/llvm-project/commit/a8a89c77ea3c16b45763fca6940bbfd3bef7884f.
Diffstat (limited to 'llvm/lib/Analysis/HashRecognize.cpp')
0 files changed, 0 insertions, 0 deletions
