Our Zfhmin support is only MC layer, but these are CodeGen layer
interfaces. If f16 isn't a Legal type for CodeGen with Zfhmin, then
these interfaces should keep their non-Zfh behavior.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks Craig, My bad for missing/misunderstanding this in the review of the previous patch.
Could you please add a test (can be a dead simple non-exhaustive one) that would show the change in behaviour?
Comment Actions
Added test for the calling convention change. FPImmLegal will require more investigation of DAG combiners to see if it is even possible to hit.
llvm/test/CodeGen/RISCV/calling-conv-half.ll | ||
---|---|---|
118 | Prior to this patch, we would pass in a GPR instead of FPR. |
Prior to this patch, we would pass in a GPR instead of FPR.