Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h | ||
---|---|---|
38 | Doxygen formatting for Ops? \p Ops Also can you add Doxygen comments for Val and Constraint? | |
40 |
| |
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
277 | Missing newline in debug string. | |
431 | Should this newline be here? clang-format? | |
481 | Can you use a range-based for loop here? |
Address review comments
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp | ||
---|---|---|
481 | 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 | ||
---|---|---|
582–583 | 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 | ||
---|---|---|
582–583 | 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 | ||
---|---|---|
582–583 | 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 | ||
---|---|---|
461 | 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.
Doxygen formatting for Ops?
Also can you add Doxygen comments for Val and Constraint?