<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63977>63977</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[LV] should we ignore the option -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue for simd loop
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vfdff
</td>
</tr>
</table>
<pre>
* test: https://gcc.godbolt.org/z/r6aa7fMW5
```
void e (int * restrict a, int * restrict b, int n)
{
for (int i = 0; i < n; i++)
b[i] = a[i] >> 31;
}
```
I think the option -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue should only be active for sve, so now it prevent the simd loop it not reasonable ?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysUs2u2ywQfZrxZpTIBv-EhRfJzbX0SV-37RrjsU1LwALsq9unr0wSRWq7rITMwHjOzDkcGYKeLFEL1QWqaybXODvfbuMwjlnvhs8W2BkjhQj8jHOMSwB-BtYB6yaljpMbemfi0fkJWPcTWOdrKZvxy7cK8ivkZ6jzx0rHzekBCYGdtI24Y3sK0WsVUQJ7wz9u--etBSYekM3lHiAijs4_0TQCv2IO_JLCN7QpBHZJS7yKEHuoLhqqayqRr8M78HfkBfDLs9f1rzzu3_8wztr-wDgTuiVqZ_GweBrJ79uglYx0cBv5Ay3auGkl4NdXhkygQ1DSyNcPiGF2qxnQWfOJPaFUUW-UeIaNdjWCQ-s-UEdcPG1kY-of9G1A49yyJ6yL6EkGZ2VvCIF394GzoeWD4EJm1Bb1SZwqkdcim9uC15UoxShYWQ-iblRT9RUp4oyfBlmXmW5ZznjesLzgRVOKI_WlqlXNx1GoU1EVUOZ0k9ocjdluux8yHcJKbc1F02RG9mRCchljlj4wJYGx3XS-3WsO_ToFKHOjQwwvlKijSfb8_-v-RA91Pgj1ZJ2nf6p9EvmpY7Z60_7meB3ntT8qdwPW7RM-tsPi3XdSEViXeAVgXeL9KwAA__9cuQo4">