<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Instruction selection fails for @llvm.experimental.constrained.fcmps.f32"
   href="https://bugs.llvm.org/show_bug.cgi?id=44731">44731</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Instruction selection fails for @llvm.experimental.constrained.fcmps.f32
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jjaoudi@waymo.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org, Ties.Stuij@arm.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Source:

```c++
void Foo(float a) {
  if (0.f < a) return;
}
```

MIR:

```text
target datalayout = "E-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbebv7r-none-unknown-eabihf"

; Function Attrs: nounwind
define dso_local void @_Z3Foof(float %0) local_unnamed_addr #0 !dbg !8 {
  %2 = tail call i1 @llvm.experimental.constrained.fcmps.f32(float
0.000000e+00, float %0, metadata !"olt", metadata !"fpexcept.strict") #3, !dbg
!10
  ret void, !dbg !11
}
```

Results in a segmentation fault during the "ARM Instruction Selection" pass.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>