| Issue |
173592
|
| Summary |
MIPSr6: fail to build: compare doubles and select floats
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
wzssyqa
|
```
define float @ueq(double %lhs, double %rhs, float %true, float %false) {
entry:
%0 = fcmp ueq double %lhs, %rhs
%1 = select i1 %0, float %true, float %false
ret float %1
}
```
```
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:11957: void llvm::SelectionDAGISel::LowerArguments(const Function &): Assertion `EVT(Ins[i].VT) == InVals[i].getValueType() && "LowerFormalArguments emitted a value with the wrong type!"' failed.
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs