[llvm] [llvm] Remove `br i1 undef` from regression tests (PR #117292)

Lee Wei via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 09:34:47 PST 2024


================
@@ -25,14 +25,15 @@ define hidden zeroext i1 @eggs(ptr %arg, i1 %arg2) unnamed_addr align 2 {
 ; CHECK:       bb6:
 ; CHECK-NEXT:    br label [[BB7:%.*]]
 ; CHECK:       bb7:
-; CHECK-NEXT:    br i1 undef, label [[BB11:%.*]], label [[BB8:%.*]]
+; CHECK-NEXT:    br i1 false, label [[BB11:%.*]], label [[BB8:%.*]]
----------------
leewei05 wrote:

I'm not sure why `update_test_checks.py` replaces this with false after taking a closer look. I might need to look into NewGVN's code. Should I just revert this file and continue with the rest?

https://github.com/llvm/llvm-project/pull/117292


More information about the llvm-commits mailing list