https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117657

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rdapp at gcc dot gnu.org

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Bisecting:
  - Caused by 'maskload else' support patches set:
  - fails since r15-5383 in various ways, but the INSN fail
    exists since r15-5387.


Namely:

* WORKING - r15-5382-g5214ddb464aab6
            (Robin Dapp / docs: Document maskload else operand and behavior.)

* FAILS - r15-5383-g8f68d9cb7897df
          (Robin Dapp / ifn: Add else-operand handling.)
 but with a different error:

  during RTL pass: expand
  input3.i:14:18: internal compiler error: in gimple_call_arg, at gimple.h:3346
0x208cf45 internal_error(char const*, ...)
        gcc/diagnostic-global-context.cc:518
0x98692c fancy_abort(char const*, int, char const*)
        gcc/diagnostic.cc:1696
0x7e3ba9 gimple_call_arg(gcall const*, unsigned int)
        gcc/gimple.h:3346
0x7e5ba8 gimple_call_arg(gcall const*, unsigned int)
        gcc/tree.h:3789
0x7e5ba8 add_mask_else_and_len_args
        gcc/internal-fn.cc:350
0xda2154 expand_partial_load_optab_fn
        gcc/internal-fn.cc:3074


* FAILS - r15-5384-g6b6bd53619fd11
          (Robin Dapp / tree-ifcvt: Add zero maskload else value.)

But again differently:

gcc/tree-if-conv.cc: In function ‘gimple*
predicate_load_or_store(gimple_stmt_iterator*, gassign*, tree)’:
gcc/tree-if-conv.cc:2562:18: error: ‘vect_get_mask_load_else’ was not declared
in this scope; did you mean ‘vect_get_load_cost’?
 2562 |       tree els = vect_get_mask_load_else (MASK_LOAD_ELSE_ZERO,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                  vect_get_load_cost

* FAIL - r15-5385-g634ae740f5a839
         (Robin Dapp / vect: Add maskload else value support.)
* FAIL - r15-5386-ga166a6ccdc6c3d
         (Robin Dapp / aarch64: Add masked-load else operands.)

(Both fail identical as the latter only has aarch64 changes:)

during GIMPLE pass: vect
input3.i:5:1: internal compiler error: in vect_get_mask_load_else, at
tree-vect-stmts.cc:2817
0x208e9a5 internal_error(char const*, ...)
        gcc/diagnostic-global-context.cc:518
0x98795c fancy_abort(char const*, int, char const*)
        gcc/diagnostic.cc:1696
0x893c5f vect_get_mask_load_else(int, tree_node*)
        gcc/tree-vect-stmts.cc:2817
0x1332a2a vectorizable_load
        gcc/tree-vect-stmts.cc:11910


* FAIL: r15-5387-g4a39addb4921ca
        (Robin Dapp / gcn: Add else operand to masked loads.)

input3.i:19:1: internal compiler error: in extract_insn, at recog.cc:2882

Reply via email to