sccvn: Correct the index of bias for IFN_LEN_STORE [PR110744]
commita6654c08fde11890d621fa7831180d410054568a
authorKewen Lin <linkw@linux.ibm.com>
Fri, 21 Jul 2023 05:18:19 +0000 (21 00:18 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Fri, 21 Jul 2023 05:18:19 +0000 (21 00:18 -0500)
treed38386a6802d56a41cfdc743202cf1ca3d558272
parent6894581ac453361e3fb4e1ffd54f9499acb87466
sccvn: Correct the index of bias for IFN_LEN_STORE [PR110744]

Commit r14-2267-gb8806f6ffbe72e adjusts the arguments order
of LEN_STORE from {len,vector,bias} to {len,bias,vector},
in order to make them consistent with LEN_MASK_STORE and
MASK_STORE.  But it missed to update the related handlings
in tree-ssa-sccvn.cc, it caused the failure shown in PR
110744.  This patch is to fix the related handlings with
the correct index.

PR tree-optimization/110744

gcc/ChangeLog:

* tree-ssa-sccvn.cc (vn_reference_lookup_3): Correct the index of bias
operand for ifn IFN_LEN_STORE.
gcc/tree-ssa-sccvn.cc