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

    <tr>
        <th>Summary</th>
        <td>
            aarch64 backend OOM on -O0 when compiling llvm.fptosi.sat.v3i32.v3f32
        </td>
    </tr>

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

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

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

<pre>
    https://llvm.godbolt.org/z/1Ehsh97nP
```llvm
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-macosx11.0.0"

define internal void @f(ptr sret([12 x i8]) align 4 %_0, ptr align 4 %self) unnamed_addr {
start:
  %0 = load <3 x float>, ptr %self, align 4
  %1 = call <3 x i32> @llvm.fptosi.sat.v3i32.v3f32(<3 x float> %0)
  store <3 x i32> %1, ptr %_0, align 4
  ret void
}
```

@calebzulawski 
originally encountered in Rust's project-portable-simd https://github.com/rust-lang/portable-simd/pull/422#issuecomment-2153487367
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U01vpDgQ_TXFxQKZMh_dBw6ddPq2ymr3B4wKKGhPjI1s00nm16-A6dkkh0gI5MLv-dV7ZQpBj5a5gfIBynNCS7w638zejZ6mif1PeuGkdf17c41xDqBOgBfAizG3KRtd3zoTM-dHwMsvwEv-dA3XY23_BnkGeYJK7s-6fS9F8iNH0VMkQ-9uiQLUWQAipxOok0t1VYA6VUWqczyAOuV4SK3CvfbvWkP8RBW9ng3fachPVZHSPBtOJ-pceMvzTGbyD2p_9zxoy0LbyN6SETenewGFHAAPc_QieI6ABygfchRvQh-gPAMeBRk9WlEIwPKHBHwU6-YPxcBmWPct1tLE_Q_qey-gfthPDZF8XD3cVmIFyE24cdQLUI9KvInBOIqgnu7sf1gf7wd9gOcbvCNj7nC9evW09rJlNMzRBZ0FitlNaYXZTQ0K19Y-n7ZpATzeuUN0nr9yYpl_ULUb8EWT57iZ-dvs-vxlEj6GAIXsyHD7azH0Gl602MvO61FbMuZdsO3csmbEvdBW_LOECFgHMXv3k7uYzs5Hag2nQU-9-Dyio47Xpc06NwFe_BJiasiug_oJtK4XYwAvBSKg0iEs3LlpYhtTzEtVHGpV1UnfqP6ojpRwk9d5XedYHurk2nRc94yDrNSh6stSlsWg6hyPjF01EGKiG5RYyEpWiKhknSG3KGuFrRparpSEQvJE2mRbXs6PyaahORbVsUgMtWzCdj8RLb-K7ec6zeU58c2KSdtlDGveOsTwP0vU0XBD5LtrVYiWuhe2vXh-_ks4K9JnKV6vbEXnplkbbUfxzbgkizfNN-5u13v_pL-jAbxsSgPgZe_k1uB_AQAA___HD1IV">