llvm-project
63cc2e39 - [PowerPC][CodeGen] Expand ISD::AssertNoFPClass for ppc_fp128 (#152357)

Commit
120 days ago
[PowerPC][CodeGen] Expand ISD::AssertNoFPClass for ppc_fp128 (#152357) 780054d3ff18075a6bc433029f336931792b1d2d added support for `ISD::AssertNoFPClass`. This ISD node can be used with the `ppc_fp128` type, which is really just two `f64s` and requires expanding when used with `ISD::AssertNoFPClass`. Without the support for expanding the result, we get an assertion because the legalizer does not know how to expand the results of `ppc_fp128` with `ISD::AssertNoFPClass`. ``` ExpandFloatResult #0: t7: ppcf128 = AssertNoFPClass t5, TargetConstant:i32<3> LLVM ERROR: Do not know how to expand the result of this operator! ``` Thus, this patch aims to add support for the expand so we no longer assert. This fixes #151375.
Author
Parents
Loading