================
@@ -0,0 +1,34 @@
+// RUN: cir-opt %s --sccp | FileCheck %s
+
+!s32i = !cir.int<s, 32>
+
+module {
+ // A constant condition enters only one region, so the other arm's value does
+ // not reach the result.
+ cir.func @const_cond(%arg0: !s32i) -> !s32i {
----------------
xlauko wrote:
Could you add a false-condition case? Right now only the true side of
`getEntrySuccessorRegions` is covered.
https://github.com/llvm/llvm-project/pull/241645
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits