Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

luismarques (Luís Marques)
Senior software/hardware engineer at lowRISC

Projects

User does not belong to any projects.

User Details

User Since
Nov 2 2018, 7:48 AM (255 w, 2 d)

LLVM, OpenTitan, messing with hardware, learning stuff... life is fun.

Recent Activity

Jun 6 2023

luismarques accepted D152273: [RISCV] Don't persist invalid feature state on .option arch error.

LGTM.

Jun 6 2023, 7:37 AM · Restricted Project, Restricted Project

May 25 2023

luismarques accepted D123515: [RISCV] Support '.option arch' directive.
May 25 2023, 8:45 AM · Restricted Project, Restricted Project

Apr 6 2023

luismarques requested changes to D123515: [RISCV] Support '.option arch' directive.

Thanks for all of the improvements so far.

Apr 6 2023, 3:05 AM · Restricted Project, Restricted Project

Mar 24 2023

luismarques added a comment to D123515: [RISCV] Support '.option arch' directive.

Adding a test showing that using .option arch in inline assembly doesn't affect ELF attributes nor set the EF_RISCV_RVC ELF flag would be nice. The latter can also be tested for assembly files.

Mar 24 2023, 8:59 AM · Restricted Project, Restricted Project
luismarques added inline comments to D123515: [RISCV] Support '.option arch' directive.
Mar 24 2023, 8:29 AM · Restricted Project, Restricted Project
luismarques accepted D123515: [RISCV] Support '.option arch' directive.

Overall LGTM. Only some minor points left to address.

Mar 24 2023, 7:25 AM · Restricted Project, Restricted Project
luismarques added inline comments to D123515: [RISCV] Support '.option arch' directive.
Mar 24 2023, 6:54 AM · Restricted Project, Restricted Project

Mar 14 2023

luismarques added inline comments to D142327: [clang][RISCV] Fix ABI handling of empty structs with hard FP calling conventions in C++.
Mar 14 2023, 9:41 AM · Restricted Project, Restricted Project

Mar 6 2023

luismarques abandoned D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces.
Mar 6 2023, 8:03 AM · Restricted Project, Restricted Project
luismarques committed rGced0327dd4a3: [CMake] Enforce LLVM_ENABLE_UNWIND_TABLES (authored by luismarques).
[CMake] Enforce LLVM_ENABLE_UNWIND_TABLES
Mar 6 2023, 4:15 AM · Restricted Project, Restricted Project
luismarques closed D144178: [CMake] Enforce LLVM_ENABLE_UNWIND_TABLES .
Mar 6 2023, 4:15 AM · Restricted Project, Restricted Project

Mar 5 2023

luismarques accepted D145125: [RISCV] Make D extension imply F extension..
Mar 5 2023, 7:43 AM · Restricted Project, Restricted Project, Restricted Project
luismarques added a reviewer for D145224: [LLVM][OHOS] Use emulated TLS for OHOS platform: jrtc27.
Mar 5 2023, 7:37 AM · Restricted Project, Restricted Project
luismarques added a comment to D123515: [RISCV] Support '.option arch' directive.

You now accept .option arch, rv32ic (without the quotes) but that's not covered in the valid tests.
Also, you're normalizing that to the quoted version .option arch, "rv32i2p0_c2p0" and accepting that but, at first glance, I'm not seeing that as an accepted case in the binutils tests.

Mar 5 2023, 7:03 AM · Restricted Project, Restricted Project
luismarques updated the diff for D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.

Update with the re-landed patch.

Mar 5 2023, 4:24 AM · Restricted Project, Restricted Project
luismarques committed rGc111fe46a1af: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms (authored by luismarques).
[Support] Implement findModulesAndOffsets on Apple 64-bit platforms
Mar 5 2023, 4:21 AM · Restricted Project, Restricted Project

Mar 2 2023

luismarques accepted D145164: [clang][RISCV] Enable -fasynchronous-unwind-tables by default on Linux.
Mar 2 2023, 2:26 PM · Restricted Project, Restricted Project
luismarques added a comment to D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.

On AIX we end up without a definition for findModulesAndOffsets so very likely the combination of #if, #elif, #else, #endif is excluding AIX from all of the definitions and it did not do that before..

Mar 2 2023, 1:52 PM · Restricted Project, Restricted Project
luismarques added a reverting change for rGb8b8aa6f0645: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms: rG6190356914e6: Revert "[Support] Implement findModulesAndOffsets on Apple 64-bit platforms".
Mar 2 2023, 1:45 PM · Restricted Project, Restricted Project
luismarques committed rG6190356914e6: Revert "[Support] Implement findModulesAndOffsets on Apple 64-bit platforms" (authored by luismarques).
Revert "[Support] Implement findModulesAndOffsets on Apple 64-bit platforms"
Mar 2 2023, 1:45 PM · Restricted Project, Restricted Project
luismarques added a reverting change for D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms: rG6190356914e6: Revert "[Support] Implement findModulesAndOffsets on Apple 64-bit platforms".
Mar 2 2023, 1:44 PM · Restricted Project, Restricted Project
luismarques added a comment to D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces.

AFAICT it would not improve the GNU backtrace situation.

Mar 2 2023, 8:52 AM · Restricted Project, Restricted Project
luismarques added a comment to D145164: [clang][RISCV] Enable -fasynchronous-unwind-tables by default on Linux.

From Kito's comment in D144174: https://github.com/gcc-mirror/gcc/commit/3cd08f7168c196d7a481b9ed9f4289fd1f14eea8

Mar 2 2023, 7:55 AM · Restricted Project, Restricted Project
luismarques added a comment to D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces.

RISC-V GCC has added -fasynchronous-unwind-tables to the default option for linux, maybe we should do that on clang side? this should able improve the situation.

Mar 2 2023, 7:48 AM · Restricted Project, Restricted Project
luismarques added a comment to D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces.

Can you give a bit more context on *why* backtrace is broken? And on which systems you've observed this? This is the first time I'm hearing this.

Mar 2 2023, 6:37 AM · Restricted Project, Restricted Project
luismarques committed rGb8b8aa6f0645: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms (authored by luismarques).
[Support] Implement findModulesAndOffsets on Apple 64-bit platforms
Mar 2 2023, 2:59 AM · Restricted Project, Restricted Project
luismarques closed D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.
Mar 2 2023, 2:59 AM · Restricted Project, Restricted Project

Feb 28 2023

luismarques added a comment to D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.

Yes, this can land independently of the other work. Since D144839 was abandoned I'll update and land this.
I'll also work on the unit test and llvm-symbolizer improvement, I've just been busy with childcare and other work.

Feb 28 2023, 11:24 AM · Restricted Project, Restricted Project
luismarques added a comment to D123515: [RISCV] Support '.option arch' directive.

@StephenFan Can you please rebase this?

Feb 28 2023, 8:51 AM · Restricted Project, Restricted Project

Feb 19 2023

luismarques added a comment to D144166: [RISCV] For rv32, accept constants like 0xfffff800 as a valid simm12..

I suppose we could also have added S-type instructions tests, for thoroughness.

Feb 19 2023, 7:21 PM · Restricted Project, Restricted Project

Feb 16 2023

luismarques added a comment to D144166: [RISCV] For rv32, accept constants like 0xfffff800 as a valid simm12..

The reasoning and approach makes sense to me. I haven't (yet) checked the implementation and test coverage in detail, so this is a weak approval only.

Feb 16 2023, 6:33 AM · Restricted Project, Restricted Project
luismarques requested review of D144178: [CMake] Enforce LLVM_ENABLE_UNWIND_TABLES .
Feb 16 2023, 2:54 AM · Restricted Project, Restricted Project
luismarques added inline comments to D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces.
Feb 16 2023, 2:13 AM · Restricted Project, Restricted Project
luismarques requested review of D144174: [Support][RISCV] Disable use of backtrace() for RISC-V backtraces.
Feb 16 2023, 2:11 AM · Restricted Project, Restricted Project

Feb 15 2023

luismarques added a comment to D143345: [RFC][RISCV] Don't disassemble `addi`s with relocations as `mv`s.

It'd be really cool if we could use the relocation to print %pcrel_lo(sym) instead of 0. But I don't know how much work that would be.

Feb 15 2023, 4:08 PM · Restricted Project, Restricted Project
luismarques added a comment to D143345: [RFC][RISCV] Don't disassemble `addi`s with relocations as `mv`s.

I'm not sure I understand your second question, though (it's late here...). I assume it's more than just a curiosity and it has some relation to this patch but it's not clear to me what the implication is. Yes, without -r the disassemblies can be a bit puzzling at times, and you need to anticipate that some 0 immediates are misleading, and they won't actually be zero in the final binary. You have the same problem with mvs, just exacerbated because then you have to think that they aren't even true mv instructions at all. Is your point that when you do use -r it should be clear that the mvs aren't actually moves and the addis aren't actually zero? Apologies if I'm being dense.

Feb 15 2023, 3:55 PM · Restricted Project, Restricted Project
luismarques added a comment to D143345: [RFC][RISCV] Don't disassemble `addi`s with relocations as `mv`s.

I think the reasoning makes sense to me. Do you also use -r when you disassemble object files? Or do you anticipate just knowing that an addi with 0 is some unrelocated address?

Feb 15 2023, 3:45 PM · Restricted Project, Restricted Project

Feb 10 2023

luismarques added inline comments to D143607: [Support][WIP] Add unit test for symbolized stack traces.
Feb 10 2023, 3:15 PM · Restricted Project, Restricted Project

Feb 9 2023

luismarques added a comment to D143619: [llvm][codegen] Disallow default Emulated TLS for RISCV.

Does this mean that Android, OpenBSD, and Cygwin have emulated TLS support for all supported architectures other than RISC-V?
Or are you essentially asserting, by making this contribution, that we should add additional opt-outs for other architectures?

Feb 9 2023, 4:22 AM · Restricted Project, Restricted Project

Feb 8 2023

luismarques added a comment to D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms.

Ah, so how does a debugger find debug info without these sort of hints? Could that logic be reused in llvm-symbolizer? (are there other symbolizers (addr2line, etc) that work on MacOS? How do they find the debug info?)

Feb 8 2023, 3:07 PM · Restricted Project, Restricted Project
luismarques added a comment to D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.

I'll submit a separate patch to add a unit test for symbolized stack traces.

Feb 8 2023, 2:24 PM · Restricted Project, Restricted Project
luismarques requested review of D143607: [Support][WIP] Add unit test for symbolized stack traces.
Feb 8 2023, 2:24 PM · Restricted Project, Restricted Project

Feb 6 2023

luismarques accepted D143362: [RISCV] Make 'c.addi x0, imm' an alias for 'c.nop imm'..
Feb 6 2023, 6:27 AM · Restricted Project, Restricted Project
luismarques added inline comments to D143374: [LLDB][RISCV] Add RVV register infos.
Feb 6 2023, 6:19 AM · Restricted Project, Restricted Project
luismarques accepted D143367: [RISCV] Remove DecoderMethod from C_NOP_HINT. NFC.

LGTM. It might have been needed in an older version of D62592.

Feb 6 2023, 3:40 AM · Restricted Project, Restricted Project

Feb 5 2023

luismarques requested review of D143345: [RFC][RISCV] Don't disassemble `addi`s with relocations as `mv`s.
Feb 5 2023, 7:50 AM · Restricted Project, Restricted Project

Jan 30 2023

luismarques updated the summary of D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms.
Jan 30 2023, 1:12 PM · Restricted Project, Restricted Project
luismarques added a comment to D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms.

Huh, this seems like an unfortunate workaround/thing to have to implement.

Jan 30 2023, 1:06 PM · Restricted Project, Restricted Project
luismarques added inline comments to D142865: [RISCV] Use custom operand parsing for FenceArg..
Jan 30 2023, 4:08 AM · Restricted Project, Restricted Project
luismarques added inline comments to D142865: [RISCV] Use custom operand parsing for FenceArg..
Jan 30 2023, 1:19 AM · Restricted Project, Restricted Project

Jan 29 2023

luismarques added a comment to D139996: [RISCV] Disable callee-saved register when the register is written by llvm.write_register intrinsic.

Nope, it's not enough. Before this patch, for example

Jan 29 2023, 2:27 PM · Restricted Project, Restricted Project
luismarques added a comment to D142777: [RISCV] Add asserts that we don't increase codesize during pseudo expansion.

Overall seems a reasonable implementation, despite the limitations pointed out in the patch description.

Jan 29 2023, 1:32 PM · Restricted Project, Restricted Project
luismarques added inline comments to D142833: [RISCV] Move FRM parsing in the assembler to a custom operand parser..
Jan 29 2023, 1:16 PM · Restricted Project, Restricted Project
luismarques accepted D142833: [RISCV] Move FRM parsing in the assembler to a custom operand parser..

LGTM.

Jan 29 2023, 11:36 AM · Restricted Project, Restricted Project
luismarques added a comment to D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.

Is this something we can test for?

Jan 29 2023, 9:23 AM · Restricted Project, Restricted Project
luismarques updated the diff for D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms.

Improve LLVM directory search.

Jan 29 2023, 9:22 AM · Restricted Project, Restricted Project

Jan 26 2023

luismarques accepted D131141: [RISCV] Add MC support of RISCV Zcb Extension.

LGTM, with some in-line caveats.

Jan 26 2023, 10:09 AM · Restricted Project, Restricted Project, Restricted Project
luismarques added a comment to D131141: [RISCV] Add MC support of RISCV Zcb Extension.

Possibly we want to add this change to the release notes?

Jan 26 2023, 9:31 AM · Restricted Project, Restricted Project, Restricted Project

Jan 25 2023

luismarques added reviewers for D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms: mehdi_amini, aganea, jordan_rose, bob.wilson, Gerolf, beanz.
Jan 25 2023, 4:26 PM · Restricted Project, Restricted Project
luismarques added a comment to D139823: [RFC][RISCV][sanitizer] Enable AP64 for RISCV64.

The lsan tests fail when SANITIZER_CAN_USE_ALLOCATOR64 is defined as 1, both on rv64 sv39 and sv48 hosts.

@kito-cheng when you uploaded this patch did you run check-lsan and get different results? If so, do you have information about your test system and base LLVM commit?

Jan 25 2023, 4:00 PM · Restricted Project, Restricted Project
luismarques added a comment to D139823: [RFC][RISCV][sanitizer] Enable AP64 for RISCV64.

The lsan tests fail when SANITIZER_CAN_USE_ALLOCATOR64 is defined as 1, both on rv64 sv39 and sv48 hosts.

Jan 25 2023, 2:19 PM · Restricted Project, Restricted Project
luismarques added a comment to D142551: [InstCombine] Teach isDeadPHICycle to look through multiple uses.

Good idea, I don't have access to a remote on it though. Would someone be able to post a branch with this patch on it?

Jan 25 2023, 9:26 AM · Restricted Project, Restricted Project
luismarques added a comment to D142551: [InstCombine] Teach isDeadPHICycle to look through multiple uses.

Good idea, I don't have access to a remote on it though. Would someone be able to post a branch with this patch on it?

Jan 25 2023, 9:02 AM · Restricted Project, Restricted Project
luismarques added a comment to D142551: [InstCombine] Teach isDeadPHICycle to look through multiple uses.

It might be a good idea to see the compile-time impact of this with https://llvm-compile-time-tracker.com?

Jan 25 2023, 8:46 AM · Restricted Project, Restricted Project
luismarques added a comment to D139827: [RISCV][Asan] Use dynamic shadow offset to make it work on different width of virtual-memory system..

With the current (unpatched) LLVM tree on an RV64 SV39 host I get this ASAN test failure (for check-asan):

Jan 25 2023, 8:17 AM · Restricted Project, Restricted Project, Restricted Project

Jan 24 2023

luismarques added a comment to D142227: [RISCV][LSR] Treat number of instructions as dominate factor in LSR cost decisions.

Makes sense to me and the results I'm seeing are reasonable. (this is also a weak approval)

Jan 24 2023, 8:53 AM · Restricted Project, Restricted Project
luismarques accepted D142326: [clang][RISCV][test] Add test cases for empty structs and the FP calling conventions.
Jan 24 2023, 7:54 AM · Restricted Project, Restricted Project
luismarques added inline comments to D142326: [clang][RISCV][test] Add test cases for empty structs and the FP calling conventions.
Jan 24 2023, 7:29 AM · Restricted Project, Restricted Project
luismarques accepted D142327: [clang][RISCV] Fix ABI handling of empty structs with hard FP calling conventions in C++.
Jan 24 2023, 7:24 AM · Restricted Project, Restricted Project
luismarques added a comment to D142373: [Utils] Add --full-function-signature to update_cc_test_checks.py to match return type as well as args.

I'm probably not the best person to review this but, for what it's worth, it LGTM.

Jan 24 2023, 3:28 AM · Restricted Project, Restricted Project, Restricted Project
luismarques added a comment to D142373: [Utils] Add --full-function-signature to update_cc_test_checks.py to match return type as well as args.

Do we actually want to include the dso_local in the full signature?

Jan 24 2023, 1:37 AM · Restricted Project, Restricted Project, Restricted Project

Jan 23 2023

luismarques accepted D142239: [RISCV] Move Processors and Features from RISCV.td to their own files..
Jan 23 2023, 9:49 AM · Restricted Project, Restricted Project
luismarques accepted D142326: [clang][RISCV][test] Add test cases for empty structs and the FP calling conventions.

LGTM but others should also chime in.

Jan 23 2023, 7:33 AM · Restricted Project, Restricted Project
luismarques accepted D142327: [clang][RISCV] Fix ABI handling of empty structs with hard FP calling conventions in C++.

LGMT.

Jan 23 2023, 4:13 AM · Restricted Project, Restricted Project

Jan 21 2023

luismarques updated the summary of D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.
Jan 21 2023, 7:16 AM · Restricted Project, Restricted Project
luismarques added inline comments to D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms.
Jan 21 2023, 7:15 AM · Restricted Project, Restricted Project
luismarques requested review of D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms.
Jan 21 2023, 7:13 AM · Restricted Project, Restricted Project
luismarques requested review of D142282: [Support] Implement findModulesAndOffsets on Apple 64-bit platforms.
Jan 21 2023, 7:11 AM · Restricted Project, Restricted Project

Jan 20 2023

luismarques updated subscribers of D127581: [ELF] Relax R_RISCV_ALIGN.
Jan 20 2023, 7:44 AM · Restricted Project, Restricted Project

Jan 19 2023

luismarques added inline comments to D127581: [ELF] Relax R_RISCV_ALIGN.
Jan 19 2023, 6:13 AM · Restricted Project, Restricted Project

Jan 4 2023

luismarques accepted D132994: [RISC-V][HWASAN] Don't explicitly load GOT entry to call hwasan mismatch routine.

LGTM.

Jan 4 2023, 10:46 AM · Restricted Project, Restricted Project

Nov 29 2022

luismarques accepted D132995: [RISC-V][HWASAN] Support tagging global variables for RISC-V HWASAN.
Nov 29 2022, 1:06 PM · Restricted Project, Restricted Project

Nov 22 2022

luismarques added a comment to D132994: [RISC-V][HWASAN] Don't explicitly load GOT entry to call hwasan mismatch routine.

I think one of possible solutions for the problem mentioned above might be the following:

  • mark __hwasan_tag_mismatch_v2 as .variant_cc directly in asm file
  • add support for reading/dumping .variant_cc as emitDirectiveVariantPCS does
  • remove setting ELF::STO_RISCV_VARIANT_CC for __hwasan_tag_mismatch_v2 in RISCVAsmPrinter.cpp

Supposedly (2) should be implemented/committed as a separate patch before this one. It looks like it's being done as part of https://reviews.llvm.org/D103435
I might have my own patch for .variant_cc support. Does it make sense to publish it for the review, since the D103435 has been sitting there for over a year?

@jrtc27 @luismarques what do you think of that?

Nov 22 2022, 5:10 AM · Restricted Project, Restricted Project
luismarques updated luismarques.
Nov 22 2022, 4:58 AM

Nov 21 2022

luismarques added a comment to D138242: [RISCV] Use register allocation hints to improve use of compressed instructions..

I was assuming this would never increase code size but that didn't seem to be the case. Since it wasn't clear to me why that would be, I reduced a problematic case and the conclusion is... it's because it's incomplete. The new register allocation sometimes ends up being unfavorable for the compressible instructions that are not yet handled (obvious in hindsight). I presume that once this code is complete that will either go away or be much more unlikely. Still, even as it is, the typical result is to improve code size so it's a nice improvement!

Nov 21 2022, 5:58 AM · Restricted Project, Restricted Project
luismarques accepted D138260: [RISCV] Prevent constant hoisting for (and (shl X, C), mask<<C).

LGTM.

Nov 21 2022, 2:25 AM · Restricted Project, Restricted Project

Nov 9 2022

luismarques accepted D137397: [Sanitizer] [Scudo] Add riscv64 support for scudo.

I see no reason not to accept this. I've checked that the tests pass.
LGTM.

Nov 9 2022, 12:57 AM · Restricted Project, Restricted Project, Restricted Project

Nov 7 2022

luismarques added a comment to D132994: [RISC-V][HWASAN] Don't explicitly load GOT entry to call hwasan mismatch routine.

As far as I can tell from looking at the relevant psABI discussions and GNU patches, this overall approach is OK.

Nov 7 2022, 5:28 AM · Restricted Project, Restricted Project

Oct 31 2022

luismarques added a comment to D132994: [RISC-V][HWASAN] Don't explicitly load GOT entry to call hwasan mismatch routine.

I looked at this more carefully. I think the CHECKs for the .section were already not being updated automatically (not sure if that was the case when they were originally added), so you didn't change that (when I originally skimmed the patch I thought that was new). I'm not sure the two UTC_ARGS are actually needed.

Oct 31 2022, 10:09 AM · Restricted Project, Restricted Project
luismarques accepted D132995: [RISC-V][HWASAN] Support tagging global variables for RISC-V HWASAN.
Oct 31 2022, 8:21 AM · Restricted Project, Restricted Project

Oct 27 2022

luismarques accepted D136812: [RISCV] Drop single letter b extension support.
Oct 27 2022, 5:52 AM · Restricted Project, Restricted Project, Restricted Project

Oct 26 2022

luismarques added a comment to D132994: [RISC-V][HWASAN] Don't explicitly load GOT entry to call hwasan mismatch routine.

Sorry, could you please explain why this required a manually written check? It's not obvious to me.

Oct 26 2022, 8:51 AM · Restricted Project, Restricted Project
luismarques added a comment to D132995: [RISC-V][HWASAN] Support tagging global variables for RISC-V HWASAN.

Is the tagging actually incompatible with the code model or only with the address materialization instructions that we use as part of the implementation of the code model? Does the tagging actually change the location of globals? I was assuming the location was the same, and the tag was just changing how we encoded that location in a numerical value. My understanding of the code model specifications is that they only care about the actual address ranges. Although the RISC-V psABI gives examples of instruction sequences my interpretation of that is that it's non-normative. So if the location doesn't actually change in principle you could materialize those with a different instruction sequence and still claim you comply with the code model, is that not the case? That only impacts the comments in the patch, I'm not opposed to the approach of using the GOT.

Oct 26 2022, 8:46 AM · Restricted Project, Restricted Project

Sep 20 2022

luismarques added a comment to D133443: [RISCV][MC] Add support for experimental Zawrs extension.

Regarding the overkill of "RISCVInstrInfoZawrs.td", how about having a "RISCVInstrInfoExtra.td" (or "RISCVInstrInfoExt.td") as a grab bag for everything that doesn't merit its own .td file?

Sep 20 2022, 2:36 AM · Restricted Project, Restricted Project, Restricted Project

Aug 25 2022

luismarques accepted D132625: [RISCV][test][NFC] Update branch-relaxation.ll with update_llc_test_checks.py.

LGTM.

Aug 25 2022, 1:33 AM · Restricted Project, Restricted Project

Aug 24 2022

luismarques accepted D132204: [RISCV] Generate correct ELF abi flag when empty .ll file has target-abi attribute.

LGTM. Thanks!

Aug 24 2022, 11:56 AM · Restricted Project, Restricted Project
luismarques accepted D132482: RISCV: permit unaligned nop-slide padding emission.
Aug 24 2022, 11:30 AM · Restricted Project, Restricted Project
luismarques added a comment to D130560: [RISCV] Handle register spill in branch relaxation.

The tests don't seem to have been properly updated with update_llc_test_checks.py. llvm/test/CodeGen/RISCV/branch-relaxation.ll contains RV64 RUN lines but the corresponding CHECK lines are missing in some functions.

Aug 24 2022, 10:38 AM · Restricted Project, Restricted Project
luismarques added a comment to D130560: [RISCV] Handle register spill in branch relaxation.

The tests don't seem to have been properly updated with update_llc_test_checks.py. llvm/test/CodeGen/RISCV/branch-relaxation.ll contains RV64 RUN lines but the corresponding CHECK lines are missing in some functions.

Aug 24 2022, 10:29 AM · Restricted Project, Restricted Project
luismarques accepted D132482: RISCV: permit unaligned nop-slide padding emission.

Looks correct to me now. Let's wait a little bit to see if there's more feedback from others.

Aug 24 2022, 8:39 AM · Restricted Project, Restricted Project