A follow up to 47b1f8362aa409b591b5e9c8a9ff0e3e1d76ed9c,
This covers some more cases on soft-float ABIs with the f/d extension.
I left the TODO in as there is still the case where we need to handle rv32i without f/d, but that looks like it requires changes to SelectionDAGLegalize::ExpandFPLibCall
Details
Details
- Reviewers
asb reames - Commits
- rGd255e0f99716: [RISCV] Peak through BITCAST in isUsedByReturnOnly
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you update the review description to be more specific? The current text sounds like you're adding new libcalls, but you're really just peeking through a bitcast.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13266 | Move the bitcast check above the comment please? | |
13271 | The comparison here is non-idiomatic. Use != instead. |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13271 | Whoops, this was left in from an earlier version, will remove |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13265–13266 | Never mind, that goes the wrong way... |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13265–13266 | Didn't know that method existed, looks handy. |
Move the bitcast check above the comment please?