https://bugs.llvm.org/show_bug.cgi?id=44731
Bug ID: 44731
Summary: Instruction selection fails for
@llvm.experimental.constrained.fcmps.f32
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
Assignee: unassignedb...@nondot.org
Reporter: jjao...@waymo.com
CC: llvm-bugs@lists.llvm.org, peter.sm...@linaro.org,
ties.st...@arm.com
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs