Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h | ||
---|---|---|
42 | Doxygen formatting for Ops? \p Ops Also can you add Doxygen comments for Val and Constraint? | |
44 |
| |
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
268 | Missing newline in debug string. | |
421 | Should this newline be here? clang-format? | |
471 | Can you use a range-based for loop here? |
Address review comments
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
---|---|---|
471 | I've removed the loop entirely, and return if the number of registers is > 1. In that case we have to unpack the value first, which was missing here. |
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
---|---|---|
574–575 | I admit I simply followed what is done in the legalizer for extending constants (https://reviews.llvm.org/D70922). Do you have a suggestion how the condition should look like instead? |
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
---|---|---|
574–575 | I think we generally just sign extend immediate operands like this. There's no legalization or register here, so you shouldn't even need to look at the LLT |
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
---|---|---|
574–575 | Yes, but it looks like inline asm boolean constants should behave differently (https://reviews.llvm.org/D60224)? |
Formatting issues, add missing return false;
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
---|---|---|
451 | Is there a way to catch these formatting issues with clang-format? It doesn't remove those superfluous newlines for me |
This is causing assertion failures on this bot:
http://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-aarch64-O0-g/7316/
I did not handle direct memory operands that need to be "indirectified" in this patch.
https://reviews.llvm.org/D79955 adds an early return for now so we don't run into the assertion while working on supporting that feature.
clang-format not found in user's PATH; not linting file.