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
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
230 ms | x64 debian > Flang.Driver::target-cpu-features.f90 |
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 | ||
---|---|---|
13271 | Move the bitcast check above the comment please? | |
13276 | The comparison here is non-idiomatic. Use != instead. |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13276 | Whoops, this was left in from an earlier version, will remove |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13265–13269 | Never mind, that goes the wrong way... |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
13265–13269 | Didn't know that method existed, looks handy. |