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

    <tr>
        <th>Summary</th>
        <td>
            llvm-exegesis generated segmentation fault on valid input
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          9Tempest
      </td>
    </tr>
</table>

<pre>
    ```
# LLVM-EXEGESIS-DEFREG RAX 10000
# LLVM-EXEGESIS-DEFREG RBX 10000
# LLVM-EXEGESIS-DEFREG RCX 10000
# LLVM-EXEGESIS-DEFREG RDX 10000
# LLVM-EXEGESIS-DEFREG RSI 10000
# LLVM-EXEGESIS-DEFREG RDI 10000
# LLVM-EXEGESIS-DEFREG RBP 10000
# LLVM-EXEGESIS-DEFREG R8 10000
# LLVM-EXEGESIS-DEFREG R9 10000
# LLVM-EXEGESIS-DEFREG R10 10000
# LLVM-EXEGESIS-DEFREG R11 10000
# LLVM-EXEGESIS-DEFREG R12 10000
# LLVM-EXEGESIS-DEFREG R13 10000
# LLVM-EXEGESIS-DEFREG R14 10000
# LLVM-EXEGESIS-DEFREG R15 10000
# LLVM-EXEGESIS-DEFREG XMM0 10000
# LLVM-EXEGESIS-DEFREG XMM1 10000
# LLVM-EXEGESIS-DEFREG XMM2 10000
# LLVM-EXEGESIS-DEFREG XMM3 10000
# LLVM-EXEGESIS-DEFREG XMM4 10000
# LLVM-EXEGESIS-DEFREG XMM5 10000
# LLVM-EXEGESIS-DEFREG XMM6 10000
# LLVM-EXEGESIS-DEFREG XMM7 10000
# LLVM-EXEGESIS-DEFREG XMM8 10000
# LLVM-EXEGESIS-DEFREG XMM9 10000
# LLVM-EXEGESIS-DEFREG XMM10 10000
# LLVM-EXEGESIS-DEFREG XMM11 10000
# LLVM-EXEGESIS-DEFREG XMM12 10000
# LLVM-EXEGESIS-DEFREG XMM13 10000
# LLVM-EXEGESIS-DEFREG XMM14 10000
# LLVM-EXEGESIS-DEFREG XMM15 10000

# LLVM-EXEGESIS-MEM-DEF MEM0 4096 2147483647
# LLVM-EXEGESIS-MEM-MAP MEM0 65536
        movdqu  (%rdi), %xmm1
        movdqu  (%rsi), %xmm0
        pcmpeqb %xmm1, %xmm0
        pminub  %xmm1, %xmm0
        pxor    %xmm1, %xmm1
        pcmpeqb %xmm1, %xmm0
        pmovmskb        %xmm0, %eax
        testq   %rax, %rax
```
This code snippet is tested by the following command
```
llvm-exegesis --mode=inverse_throughput -execution-mode=subprocess --snippets-file=llvm-exe-test/1.test
```
Version of `llvm-exegsis` is based on SHA 2a1f1b5fde0a2e03f94fa2cb5c

Output is
```
---
mode:            inverse_throughput
key:
 instructions:
    - 'MOVDQUrm XMM1 RDI i_0x1 %noreg i_0x0 %noreg'
    - 'MOVDQUrm XMM0 RSI i_0x1 %noreg i_0x0 %noreg'
    - 'PCMPEQBrr XMM0 XMM0 XMM1'
    - 'PMINUBrr XMM0 XMM0 XMM1'
    - 'PXORrr XMM1 XMM1 XMM1'
 - 'PCMPEQBrr XMM0 XMM0 XMM1'
    - 'PMOVMSKBrr EAX XMM0'
    - 'TEST64rr RAX RAX'
  config:          ''
  register_initial_values:
 - 'RAX=0x10000'
    - 'RBX=0x10000'
    - 'RCX=0x10000'
    - 'RDX=0x10000'
    - 'RSI=0x10000'
    - 'RDI=0x10000'
    - 'RBP=0x10000'
    - 'RSP=0x10000'
    - 'R8=0x10000'
    - 'R9=0x10000'
    - 'R10=0x10000'
    - 'R11=0x10000'
    - 'R12=0x10000'
    - 'R13=0x10000'
    - 'R14=0x10000'
    - 'R15=0x10000'
    - 'XMM0=0x10000'
    - 'XMM1=0x10000'
    - 'XMM2=0x10000'
    - 'XMM3=0x10000'
    - 'XMM4=0x10000'
    - 'XMM5=0x10000'
    - 'XMM6=0x10000'
    - 'XMM7=0x10000'
    - 'XMM8=0x10000'
    - 'XMM9=0x10000'
    - 'XMM10=0x10000'
    - 'XMM11=0x10000'
    - 'XMM12=0x10000'
    - 'XMM13=0x10000'
    - 'XMM14=0x10000'
    - 'XMM15=0x10000'
cpu_name: skylake-avx512
llvm_triple: x86_64-unknown-linux-gnu
num_repetitions: 10000
measurements: []
error:           'The benchmarking subprocess sent unexpected signal: Segmentation fault'
info:            ''
assembled_snippet: 554157415641554154534989FC4989F548BF0000000000000000488D350000000048C1EE0C48C1E60C4881EE0010000048B80B000000000000000F054C8D05000000004C89E74C01C748C1EF0C48C1E70C4881C70010000048BE00F0FFFFFF7F00004829FE48B80B000000000000000F0548BF00E0FFFFFF7F000048BE001000000000000048BA030000000000000049BA01001000000000004D89E849B9000000000000000048B809000000000000000F0548BF000001000000000048BE001000000000000048BA030000000000000049BA010010000000000049B804E0FFFFFF7F0000458B0049B9000000000000000048B809000000000000000F0548BC00F0FFFFFF7F000048B8000001000000000048BB000001000000000048B9000001000000000048BA000001000000000048BE000001000000000048BF000001000000000048BD000001000000000048BC000001000000000049B8000001000000000049B9000001000000000049BA000001000000000049BB000001000000000049BC000001000000000049BD000001000000000049BE000001000000000049BF00000100000000004883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F04244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F0C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F14244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F1C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F24244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F2C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F34244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062F17E086F3C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F04244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F0C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F14244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F1C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F24244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F2C244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F34244883C4104883EC10C7042400000100C744240400000000C744240800000000C744240C0000000062717E086F3C244883C41050575648BF00E0FFFFFF7F00008B3F48BE032400000000000048B810000000000000000F055E5858F30F6F0FF30F6F06660F74C1660FDAC1660FEFC9660F74C1660FD7C04885C0F30F6F0FF30F6F06660F74C1660FDAC1660FEFC9660F74C1660FD7C04885C0F30F6F0FF30F6F06660F74C1660FDAC1660FEFC9660F74C1660FD7C04885C0F30F6F0FF30F6F06660F74C1660FDAC1660FEFC9660F74C1660FD7C04885C048BF00E0FFFFFF7F00008B3F48BE012400000000000048B810000000000000000F0548BF000000000000000048B83C000000000000000F055B415C415D415E415F5DC3
...
```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUWUtzozoa_TV4oyIlCQmkhRfmdadrLtO5Sd8u71wylm1NeLgRpN3_fkrg-EljUjNejCtlLJ2jo_NJX_EJIrRWm0LKqUV9i4YT0dTbsprybzLfSV1PluXq19Ry4eEPhhacWdgBf_75PbGjefRH9Prl1Q6j-CX6A7zM5gBBCO_y_JG8YCQvHMl7_TJSbyTPfx7HY-NofBwNwZE8NJKHR_KckTwykkdH8eZJMi7geZKMi3ieJONCnifJuJjnSTIu6HmSjI7aHUv0xhLH5eE8ScZlolnw8Vszem9G5qNhjt6dkTlpmJf78xt-EiVmDEiiBAICuQswIh5hjku8oTHJ7Lkb41LquB9z8Lx8X_1oLMgtzCxMq5WyMLdwACxM93mOfkvUl8Sja75L8538sWyZnUQfKVdFc4-zL6s-BvrsVOV7rt9OLHhgSbE_kmqp6x8doxL7A6E6Ei7L0Let0iAtVxLoQu12sgZKA6MgV2D5C9RbCdZllpU_VbEBaZnnolj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