Hi Haochen, on 2023/3/27 17:46, HAO CHEN GUI wrote: > Kewen, > The case still fails with trunk. >
OK, thanks for checking, the proposed patch can catch the expected pattern accurately (excluding noises), so okay for trunk and branches, thanks! BR, Kewen > FAIL: gcc.target/powerpc/pr56605.c scan-rtl-dump-times combine "\\(compare:CC > \\((?:and|zero_extend):(?:[SD]I) \\((?:sub)?reg:[SD]I" 1 > > === gcc Summary === > > # of expected passes 1 > # of unexpected failures 1 > > With the trunk, it should match the pattern. > (compare:CC (and:SI (subreg:SI (reg:DI 207) 0)