diff options
author | Lee Wei <lee10202013@gmail.com> | 2024-11-07 16:11:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-07 08:11:15 +0000 |
commit | 1469d82e1cb3edc939d6b93089046edfef0cf36c (patch) | |
tree | 6548b575a718ff2a0714b5265275d4e98d8b85ea /llvm/lib/CodeGen/TargetPassConfig.cpp | |
parent | ae5bfa0cef0873d30e7dd5cb20ff4437b244203e (diff) | |
download | llvm-1469d82e1cb3edc939d6b93089046edfef0cf36c.zip llvm-1469d82e1cb3edc939d6b93089046edfef0cf36c.tar.gz llvm-1469d82e1cb3edc939d6b93089046edfef0cf36c.tar.bz2 |
Remove `br i1 undef` from some regression tests [NFC] (#115130)
As defined in LangRef, branching on `undef` is undefined behavior.
This PR aims to remove undefined behavior from tests. As UB tests break
Alive2 and may be the root cause of breaking future optimizations.
Here's an Alive2 proof for one of the examples:
https://alive2.llvm.org/ce/z/TncxhP
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions