Implementation of lowerReturn in the IRTranslator for the M68k backend.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/M68k/M68kISelLowering.h | ||
---|---|---|
177 | Since there is the param bool Return, we could combine this function with the above one. | |
llvm/test/CodeGen/M68k/GlobalISel/irtranslator-ret.ll | ||
185 | The name of the register storing the return value, ie $bd0, could be turned into a regex. Please do the same for the tests below. | |
213 | Floating point tests might be doable? In case its a hastle and Minh does not mind, perhaps add a TODO in the IRTranslator somewhere. |
@myhsu x64 debian failure is likely because of the missing M68kISelLowering.h. Can we do something about this?
That's really interesting...clang-format always seems to have a hard time finding that file, I'll look into it
llvm/lib/Target/M68k/GlSel/M68kCallLowering.cpp | ||
---|---|---|
35 | Missing override attribute here, which is a compilation error if you build LLVM using Clang. | |
42 |
| |
50 | ditto missing override | |
llvm/lib/Target/M68k/M68kISelLowering.h | ||
177 | Agree, currently we don't have complicate CC assignment functions so combining them into one is preferred. | |
llvm/test/CodeGen/M68k/GlobalISel/irtranslator-ret.ll | ||
185 | I don't think so...according to M68k ABI it only uses one (and two in some cases) for return values | |
213 | I'm fine with either way. Floating point support is not our main focus now |
llvm/test/CodeGen/M68k/GlobalISel/irtranslator-ret.ll | ||
---|---|---|
185 | *only uses one (or two) register(s) |
llvm/lib/Target/M68k/GlSel/M68kCallLowering.cpp | ||
---|---|---|
42 | I just found that the function signature for this method was just changed recently (99c7e918b5ea2262635cc5f80b8887e487227638) so you might use an outdated LLVM tree. Please rebase to the current tip-of-tree. |
Missing override attribute here, which is a compilation error if you build LLVM using Clang.