aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorKunqiu Chen <camsyn@foxmail.com>2025-11-01 17:01:30 +0800
committerGitHub <noreply@github.com>2025-11-01 17:01:30 +0800
commit82cf54fbf6a7cd185cfe2279ca9d0cf4c4ea16e0 (patch)
treea7542644af525b24b681f6f48a8ab230bcff9127 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parentc07440b8879c61c1c388499278197ce6970f2472 (diff)
downloadllvm-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/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions