https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107090
--- Comment #4 from vfdff <zhongyunde at huawei dot com> --- (In reply to Andrew Pinski from comment #1) > A few issues. > First is: > > if (_26 != 0) > goto <bb 3>; [50.00%] > else > goto <bb 4>; [50.00%] > > <bb 3> [local count: 536870913]: > ht_15 = ht_13 + 4294967296; > > <bb 4> [local count: 1073741824]: > # ht_2 = PHI <ht_13(2), ht_15(3)> > For the 1st issue, I see the gcc works well before gcc8 with if-conversion, https://godbolt.org/z/99a9e59Ge