(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
ifcvt-5.c
       1  /* Check that multi-insn if-conversion is not done if the override
       2     parameter would not allow it.  Set the cost parameter very high
       3     to ensure that the limiting factor is actually the count parameter.  */
       4  
       5  /* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-insns=1 --param max-rtl-if-conversion-unpredictable-cost=200" } */
       6  
       7  typedef int word __attribute__((mode(word)));
       8  
       9  word
      10  foo (word x, word y, word a)
      11  {
      12    word i = x;
      13    word j = y;
      14    if (x > y)
      15      {
      16        i = a;
      17        j = i;
      18      }
      19    return i * j;
      20  }
      21  /* { dg-final { scan-rtl-dump "0 true changes made" "ce1" } } */