<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55555>55555</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            PPC Altivec - fatal error: error in backend: Do not know how to split this operator's operand!
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ltertan
      </td>
    </tr>
</table>

<pre>
    **Testcase**:
`int a(vector int b, vector int c) { return __builtin_altivec_vcmpequw_p(2, b, c); }`

**Compile options**:
`--target=ppc32 -mcpu=a2 -maltivec -msoft-float`

**Error**:
> fatal error: error in backend: Do not know how to split this operator's operand!
> PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
> Stack dump:
> 0. Program arguments: /opt/compiler-explorer/clang-trunk/bin/clang++ -g -o /app/output.s -S -target powerpc64 -fcolor-diagnostics -fno-crash-diagnostics --target=ppc32 -O2 -mcpu=a2 -maltivec -msoft-float <source>
> 1. <eof> parser at end of file
> 2. Code generation
> 3. Running pass 'Function Pass Manager' on module '<source>'.
> 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_Z1aDv4_iS_'
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1U12P6jYQ_TXhZRQUnASWhzywwFaVWhWVPt0X5DiT4G5iu_Z4t_33HQdW3O29D1WlopB4vs45nrFb2_3VZGLHz28YSMmANysrd1lxyIpdti60IZCZeHpDRdZDMttM7OErW2ViC9nmGTxS9AYulzbqkbS5SH5z4uVNTQ7_iO8Xx0gilc8YqTArn7n2wEx3ytt71rG3k9MjgnWkrQnfistzkn5AysqDc6oUkE_KRbZkWt7ZeRVsT3k_Wknf5Tl6b_0_0csj9JLkCDhHy91twTuGVqpXNF3yHSwYS_Bq7Dtc-U8Wghs1AV11YOHoJSXszd3gKrF6MJx-Ou7ORwixnbhGQhsH7qKznhLSlciFpEi88DNousZ2qezExji-fXxy5-3vPA02dQgRuU8vwESsVI2xQ5aCoLwM11k4eakwdd8xkbcKQ8AOgo3-5k6VMgSrtCQO-GggKK8dLR-yz8RA0MXJfepXwSnbk7eDlxPwYOKEhtIGgCXxEPmtbiP1Of7pRuvRJ98ozZATM72y1Wrz4cvEMz-QD5DbBCGdS0CRXKRlgPwM9_mDs-_onVpXkPfKMnDeaTkYG0grTuyNzecOfHZ_c3p--RcnCLJyf-9WeXzsfZX2ziG0fTKd9AE9cDofFLA99LzrR7ZI2XvLwxnQpDPC5_sRLVP012iMNgMjhcCb37xEo1IanJLjZ2nkkLq3AXZNtot8T9j6JE5svppZ9T3QU-rbaQ-H3Q85J_GH4YmQb_GPJvBIbpRnHHFe3fn6Dy2JsSouX1by8FZd9PnCjkXXlN223MoFaRqxOTH-7qOR_9udWkQ_Nv_9wtTpt7g23Xa9rkVbFFsh2rooS1E_1ZXayI0UWxRPi1G2OIYmq_loCoPvMEPwOqsPC92IQoiiXj2tiqos1kvssayrdVGpdovVuuNm4ST1uEw6ltYPC9_MkvjiBw6OOlB4BHlKejCIMx3jy0hXyxU8IJJmMVM3s_S_Ab911nI">