Page MenuHomePhabricator

xen0n (WÁNG Xuěruì)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 13 2019, 8:26 PM (189 w, 3 d)

Recent Activity

Today

xen0n accepted D147367: [LoongArch][NFC] Add tests of bitwise and with immediates (for D147368).
Sat, Apr 1, 1:13 AM · Restricted Project, Restricted Project
xen0n accepted D147305: [LoongArch] Optimize multiplication with immediates.
Sat, Apr 1, 1:12 AM · Restricted Project, Restricted Project
xen0n added a comment to D147368: [LoongArch] Optimize bitwise and with immediates.

I've just found there's no commit message. In general it could be helpful to include one or two short sentences describing the actual change, e.g. "Optimize bitfield extractions retaining bit positions with bstrpick + slli", because "optimize foo" otherwise doesn't carry useful information about the actual improvements.

Sat, Apr 1, 12:33 AM · Restricted Project, Restricted Project
xen0n accepted D147368: [LoongArch] Optimize bitwise and with immediates.

Good catch, thanks!

Sat, Apr 1, 12:23 AM · Restricted Project, Restricted Project

Yesterday

xen0n added inline comments to D147368: [LoongArch] Optimize bitwise and with immediates.
Fri, Mar 31, 11:56 PM · Restricted Project, Restricted Project
xen0n added a comment to D147305: [LoongArch] Optimize multiplication with immediates.

Thanks for the improvements.
So this is only for the case 2 mentioned by @xen0n, right? Seems that the test for 81 is missing.

Will case 1 and case 3 be handled later?

Thanks for your comments.

  1. The missing case 81 is added.
  2. I will implement case 1 and case 3 later in another patch. BTW: Total amount of these two cases is small, and they even have redundant values with case 2, so how about implementing them without foreach, just standalone Pat one by one ?
Fri, Mar 31, 9:42 PM · Restricted Project, Restricted Project
xen0n added a comment to D147305: [LoongArch] Optimize multiplication with immediates.

This is good strength reduction overall, thanks for the insight!

Though maybe the exact patterns can be automatically generated with nested loops, for reduced mental burden to prove correctness? I've sketched something and it seems doable:

>>> alsl = lambda j, k, imm: (j << imm) + k
>>> a = [alsl(alsl(1, 1, i), alsl(1, 1, i), j) for j in range(1,5) for i in range(1,5)]
>>> a
[9, 15, 27, 51, 15, 25, 45, 85, 27, 45, 81, 153, 51, 85, 153, 289]
>>> list(sorted(set(a)))
[9, 15, 25, 27, 45, 51, 81, 85, 153, 289]
>>> b = [alsl(alsl(1, 1, i), 1, j) for j in range(1,5) for i in range(1,5)]
>>> b
[7, 11, 19, 35, 13, 21, 37, 69, 25, 41, 73, 137, 49, 81, 145, 273]
>>> ab = set(a).union(set(b))
>>> len(ab)
24
>>> list(sorted(set(a).intersection(set(b))))
[25, 81]

>>> c = [alsl(1, alsl(1, 1, i), j) for j in range(1,5) for i in range(1,5)]
>>> c
[5, 7, 11, 19, 7, 9, 13, 21, 11, 13, 17, 25, 19, 21, 25, 33]
>>> list(sorted(set(c)))
[5, 7, 9, 11, 13, 17, 19, 21, 25, 33]

>>> set(c).difference(ab)
{33, 5, 17}
>>> all = set(c).union(ab).difference({3, 5, 9, 17})
>>> len(all)
24
>>> list(sorted(all))
[7, 11, 13, 15, 19, 21, 25, 27, 33, 35, 37, 41, 45, 49, 51, 69, 73, 81, 85, 137, 145, 153, 273, 289]

So basically, we can strength-reduce a total of 24 different constant-multiplications with two alsl's:

  • case 1: alsl T, X, X, i; alsl Y, T, T, j: 15, 25, 27, 45, 51, 81, 85, 153, 289
  • case 2: alsl T, X, X, i; alsl Y, T, X, j: 7, 11, 13, 19, 21, 25, 35, 37, 41, 49, 69, 73, 81, 137, 145, 273
  • case 3: alsl T, X, X, i; alsl Y, X, T, j: 7, 11, 13, 19, 21, 25, 33

Problem is that there are some overlaps between the 3 possible combinations, and some inside case 1 and 3. If we could somehow avoid producing conflicting rules then probably leveraging TableGen's loop and computation abilities would produce code that's easier to maintain. Otherwise, simplifying the code with some macros could also be beneficial.

Thanks for your suggestion! Using foreach really makes the code more clear!

Fri, Mar 31, 3:37 AM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

rebase

Fri, Mar 31, 2:26 AM · Restricted Project, Restricted Project
xen0n added a comment to D147305: [LoongArch] Optimize multiplication with immediates.

This is good strength reduction overall, thanks for the insight!

Fri, Mar 31, 2:03 AM · Restricted Project, Restricted Project

Thu, Mar 30

xen0n accepted D147221: [LoongArch][NFC] Add tests of additions with immediates (for D147222).

Nit: this is preparatory change adding baseline test cases for D147222, so the title may be tweaked a little bit, or you may add some commit message, to not suggest such tests were totally absent otherwise.

Thu, Mar 30, 5:21 AM · Restricted Project, Restricted Project
xen0n accepted D147222: [LoongArch] Optimize additions with immediates.

Typo in title: "immediates".

Thu, Mar 30, 5:19 AM · Restricted Project, Restricted Project

Mon, Mar 27

xen0n accepted D146716: [tsan] Derive the unmangled SP in longjmp with xor key on loongarch64.
Mon, Mar 27, 12:58 AM · Restricted Project, Restricted Project
xen0n added inline comments to D146716: [tsan] Derive the unmangled SP in longjmp with xor key on loongarch64.
Mon, Mar 27, 12:12 AM · Restricted Project, Restricted Project

Feb 15 2023

xen0n updated the diff for D141785: [Clang][LoongArch] Implement patchable function entry.

Document the change in Clang release note.

Feb 15 2023, 2:16 AM · Restricted Project, Restricted Project, Restricted Project
xen0n updated the diff for D141785: [Clang][LoongArch] Implement patchable function entry.

Rebase and change to lower the op in LoongArchAsmPrinter so as to make people's lives easier when they come to rebase D141785 on top of this.

Feb 15 2023, 2:08 AM · Restricted Project, Restricted Project, Restricted Project

Feb 13 2023

xen0n updated the diff for D143880: [LoongArch] Emit bytepick for picking from concatenation of two values.

update other affected tests

Feb 13 2023, 7:44 AM · Restricted Project, Restricted Project
xen0n added a comment to D138135: [lld][ELF] Support LoongArch.
Feb 13 2023, 5:59 AM · Restricted Project, Restricted Project
xen0n updated the diff for D143880: [LoongArch] Emit bytepick for picking from concatenation of two values.

Fix the pattern for bstrpick.w on LA64.

Feb 13 2023, 5:30 AM · Restricted Project, Restricted Project
xen0n added a comment to D143880: [LoongArch] Emit bytepick for picking from concatenation of two values.

@xry111: BTW your GCC implementation of this pattern looks for *arithmetic* right shifts; do you mean logical instead? Because obviously the higher bits would be full of ones after shifting if rj happen to have its MSB set. The sign extension shall happen *after* the pick.

Feb 13 2023, 4:48 AM · Restricted Project, Restricted Project

Feb 12 2023

xen0n added a comment to D143880: [LoongArch] Emit bytepick for picking from concatenation of two values.

Self note: the pattern may need more love, because the signext i32 cases appear wrong on LA64.

Feb 12 2023, 11:50 PM · Restricted Project, Restricted Project
xen0n added a comment to D143880: [LoongArch] Emit bytepick for picking from concatenation of two values.

@xry111: BTW your GCC implementation of this pattern looks for *arithmetic* right shifts; do you mean logical instead? Because obviously the higher bits would be full of ones after shifting if rj happen to have its MSB set. The sign extension shall happen *after* the pick.

Feb 12 2023, 11:49 PM · Restricted Project, Restricted Project
xen0n requested review of D143880: [LoongArch] Emit bytepick for picking from concatenation of two values.
Feb 12 2023, 11:46 PM · Restricted Project, Restricted Project
xen0n requested review of D143879: [LoongArch] Add baseline tests for `bytepick` codegen. NFC.
Feb 12 2023, 11:45 PM · Restricted Project, Restricted Project
xen0n retitled D143710: [LoongArch] Make use of addu16i.d for adds with suitable immediates from [LoongArch] Emit addu16i.d for simple adds with eligible immediates to [LoongArch] Make use of addu16i.d for adds with suitable immediates.
Feb 12 2023, 4:43 AM · Restricted Project, Restricted Project
xen0n updated the diff for D143710: [LoongArch] Make use of addu16i.d for adds with suitable immediates.

Rebase & split tests out & implement matching of paired addu16i.d + addi patterns

Feb 12 2023, 4:42 AM · Restricted Project, Restricted Project
xen0n requested review of D143846: [LoongArch] Add baseline tests for `addu16i.d` codegen. NFC.
Feb 12 2023, 4:41 AM · Restricted Project, Restricted Project

Feb 10 2023

xen0n added inline comments to D143710: [LoongArch] Make use of addu16i.d for adds with suitable immediates.
Feb 10 2023, 3:03 AM · Restricted Project, Restricted Project
xen0n requested review of D143710: [LoongArch] Make use of addu16i.d for adds with suitable immediates.
Feb 10 2023, 1:32 AM · Restricted Project, Restricted Project

Feb 8 2023

xen0n accepted D143621: [LoongArch] Implement the convertSelectOfConstantsToMath hook.

Some nice improvements it seems!

Feb 8 2023, 10:36 PM · Restricted Project, Restricted Project

Feb 7 2023

xen0n accepted D143470: [LoongArch] Merge the 12bit constant address into the offset field of the instruction.

Seems good; you could rewrite these tests in opaque pointers afterwards as well.

Feb 7 2023, 12:34 AM · Restricted Project, Restricted Project

Feb 6 2023

xen0n added inline comments to D141785: [Clang][LoongArch] Implement patchable function entry.
Feb 6 2023, 10:50 PM · Restricted Project, Restricted Project, Restricted Project

Jan 31 2023

xen0n added inline comments to D142688: [Clang][Driver] Handle LoongArch multiarch tuples.
Jan 31 2023, 8:17 PM · Restricted Project, Restricted Project
xen0n accepted D142837: [LoongArch] Honor the `--target-abi` option when generating e_flags.
Jan 31 2023, 7:59 PM · Restricted Project, Restricted Project
xen0n accepted D142874: [LoongArch] Implement TargetLowering::isLegalAddressingMode() hook.
Jan 31 2023, 7:58 PM · Restricted Project, Restricted Project
xen0n updated the diff for D142688: [Clang][Driver] Handle LoongArch multiarch tuples.

rebase

Jan 31 2023, 5:36 PM · Restricted Project, Restricted Project
xen0n updated the diff for D142685: [LoongArch] Implement handling of triple-implied ABIs.

rebase and update testcase

Jan 31 2023, 5:35 PM · Restricted Project, Restricted Project
xen0n accepted D142874: [LoongArch] Implement TargetLowering::isLegalAddressingMode() hook.

LGTM with the nit addressed, thanks!

Jan 31 2023, 5:23 PM · Restricted Project, Restricted Project
xen0n accepted D143037: [LoongArch] Override TargetLowering::hasAndNotCompare().
Jan 31 2023, 5:20 PM · Restricted Project, Restricted Project
xen0n accepted D142958: [LoongArch] Implement isUsedByReturnOnly for tailcall more libcalls.
Jan 31 2023, 12:11 AM · Restricted Project, Restricted Project

Jan 30 2023

xen0n accepted D142950: [LoongArch] Support getHostCPUName and getHostCPUFeatures.

Better than parsing /proc/cpuinfo which I was nearly going to do, only hindered by my day job. Thanks!

Jan 30 2023, 11:53 PM · Restricted Project, Restricted Project
xen0n added inline comments to D142874: [LoongArch] Implement TargetLowering::isLegalAddressingMode() hook.
Jan 30 2023, 3:29 AM · Restricted Project, Restricted Project
xen0n accepted D142876: [LoongArch] Enable shrink wrapping when optimize the function.

Looks good, thanks!

Jan 30 2023, 3:21 AM · Restricted Project, Restricted Project
xen0n added inline comments to D142874: [LoongArch] Implement TargetLowering::isLegalAddressingMode() hook.
Jan 30 2023, 3:18 AM · Restricted Project, Restricted Project

Jan 29 2023

xen0n added inline comments to D142685: [LoongArch] Implement handling of triple-implied ABIs.
Jan 29 2023, 5:51 AM · Restricted Project, Restricted Project

Jan 26 2023

xen0n requested review of D142688: [Clang][Driver] Handle LoongArch multiarch tuples.
Jan 26 2023, 10:39 PM · Restricted Project, Restricted Project
xen0n updated the diff for D142685: [LoongArch] Implement handling of triple-implied ABIs.

rebase

Jan 26 2023, 8:44 PM · Restricted Project, Restricted Project
xen0n requested review of D142685: [LoongArch] Implement handling of triple-implied ABIs.
Jan 26 2023, 8:43 PM · Restricted Project, Restricted Project

Jan 23 2023

xen0n accepted D141248: [Clang] [Python] Fix tests when default config file contains -include.
Jan 23 2023, 12:41 PM · Restricted Project, Restricted Project

Jan 22 2023

xen0n added inline comments to D141248: [Clang] [Python] Fix tests when default config file contains -include.
Jan 22 2023, 12:58 AM · Restricted Project, Restricted Project

Jan 21 2023

xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

add test cases for PCALA relocs, fix getLoongArchPageOffset's adjustment to the higher half as uncovered by the tests

Jan 21 2023, 11:05 PM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

fix a switch arm and tweak comments

Jan 21 2023, 8:36 PM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

amend comments

Jan 21 2023, 8:28 PM · Restricted Project, Restricted Project
xen0n retitled D138135: [lld][ELF] Support LoongArch from [ELF] Support LoongArch to [lld][ELF] Support LoongArch.
Jan 21 2023, 7:51 PM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

fix PCALA_HI20 behavior in case of PCALA_LO12 on JIRL, and cleanups

Jan 21 2023, 7:49 PM · Restricted Project, Restricted Project
xen0n added a comment to D138135: [lld][ELF] Support LoongArch.

I just verified the latest change, lld still fail to link llvm and report the error:

ld.lld: error: relocation R_LARCH_PCALA_HI20 cannot be used against symbol '__cxa_atexit'; recompile with -fPIC                                                                              
>>> defined in /usr/lib64/libc.so.6
>>> referenced by atexit.c:46 (../stdlib/atexit.c:46)
>>>               atexit.oS:(atexit) in archive /usr/lib64/libc_nonshared.a
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Jan 21 2023, 7:41 AM · Restricted Project, Restricted Project
xen0n added a comment to D142278: [LoongArch] Allow %pc_lo12 relocs in JIRL's immediate operand position.

By the way, using PCALA_LO12 like this means lld will need to peek at the instruction and see if it's a jirl to handle the PCALA_LO12 relocation properly. I guess we'll need to investigate this issue a little. I hope it won't cause too much trouble.

Jan 21 2023, 5:40 AM · Restricted Project, Restricted Project
xen0n added a comment to D142278: [LoongArch] Allow %pc_lo12 relocs in JIRL's immediate operand position.

LGTM though I really dislike depending on some undocumented behavior of PCALA_LO12.

Jan 21 2023, 5:18 AM · Restricted Project, Restricted Project
xen0n added a comment to D142278: [LoongArch] Allow %pc_lo12 relocs in JIRL's immediate operand position.

I only realized it's the Chinese New Year's Eve after finishing this and seeing your comments. /facepalm

Jan 21 2023, 5:09 AM · Restricted Project, Restricted Project
xen0n retitled D138135: [lld][ELF] Support LoongArch from [WIP][ELF] Support LoongArch to [ELF] Support LoongArch.
Jan 21 2023, 2:25 AM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

Add a couple of tests, implement the R_LARCH_PCALA_LO12 on JIRL kludge

Jan 21 2023, 2:24 AM · Restricted Project, Restricted Project
xen0n requested review of D142278: [LoongArch] Allow %pc_lo12 relocs in JIRL's immediate operand position.
Jan 21 2023, 2:22 AM · Restricted Project, Restricted Project

Jan 17 2023

xen0n added a comment to D141036: [JITLink] Add an initial implementation of JITLink for ELF/LoongArch.

The architecture-specific details LGTM, thanks! A couple of nits below.

Jan 17 2023, 12:55 AM · Restricted Project, Restricted Project

Jan 15 2023

xen0n added a comment to D141743: [LoongArch] Add an option for MCInstPrinter to print numeric reg names.

Aren't all the register indexes less human-friendly to most? ;-)

Jan 15 2023, 5:46 AM · Restricted Project, Restricted Project
xen0n added a comment to D135402: [LLD] Enable --no-undefined-version by default..

Hi, as I've recently tried to bootstrap Gentoo on LoongArch with LLVM toolchain, I've run into multiple build failures that needed to be worked around; given how many high-profile projects are impacted, is it prudent to temporarily downgrade this to a warning? mold chose to emit a warning for such cases, for example.

Jan 15 2023, 2:49 AM · Restricted Project, Restricted Project
xen0n added a comment to D138135: [lld][ELF] Support LoongArch.

With the backend enabled, it would be good to work on this further.

Jan 15 2023, 2:33 AM · Restricted Project, Restricted Project
xen0n updated the summary of D141785: [Clang][LoongArch] Implement patchable function entry.
Jan 15 2023, 2:26 AM · Restricted Project, Restricted Project, Restricted Project
xen0n requested review of D141785: [Clang][LoongArch] Implement patchable function entry.
Jan 15 2023, 2:25 AM · Restricted Project, Restricted Project, Restricted Project

Jan 12 2023

xen0n added a comment to D141196: [cmake] Don't require third-party components when cross-compiling.

Thanks for the patch!

Jan 12 2023, 9:47 PM · Restricted Project, Restricted Project
xen0n added a comment to D140615: [LLDB][LoongArch] Delete the s9 register alias definition.

BTW do we have a way of fixing the bug while preserving the alias?

Jan 12 2023, 4:12 AM · Restricted Project, Restricted Project

Jan 10 2023

xen0n accepted D141257: [LoongArch] Implement mayBeEmittedAsTailCall for tail call optimization.
Jan 10 2023, 5:24 PM · Restricted Project, Restricted Project
xen0n added a comment to D141191: [CMake][LoongArch] Add LoongArch to LLVM_ALL_TARGETS so it is built by default.

As the community guy who has helped the port a little (by writing some of the codegen myself, porting LLD, putting all of these into distro-building practice and helping troubleshooting things in general), I can confirm the port indeed works on most open-source projects I've checked. Even Linux is close to being buildable. I also experimented with Gentoo stage-building with a recent LLVM snapshot (with my D138135 applied), and bootstrapping is almost done with all problems so far unrelated to the target code.

Jan 10 2023, 10:09 AM · Restricted Project, Restricted Project

Jan 3 2023

xen0n accepted D140685: [LoongArch] Add intrinsics for MOVFCSR2GR and MOVGR2FCSR instructions.

MOVGR2FCSR modifies the value of the software writable field
corresponding to the FCSR (floating-point control and status
register) fcsr according to the value of the lower 32 bits of
the GR (general purpose register) rj.

The description of movgr2fcsr is incorrect, it implies GPR[rj]is read, but in fact it's only the ui5 immediate in rj slot, i.e. FCSR[rj]. I didn't look very closely but the test case changes seem good.

Jan 3 2023, 2:37 AM · Restricted Project, Restricted Project, Restricted Project

Dec 27 2022

xen0n added a comment to D140685: [LoongArch] Add intrinsics for MOVFCSR2GR and MOVGR2FCSR instructions.

MOVGR2FCSR modifies the value of the software writable field
corresponding to the FCSR (floating-point control and status
register) fcsr according to the value of the lower 32 bits of
the GR (general purpose register) rj.

Dec 27 2022, 4:26 AM · Restricted Project, Restricted Project, Restricted Project

Dec 26 2022

xen0n requested review of D140670: [LoongArch][test] Regenerate checks for the ghc-cc.ll test case.
Dec 26 2022, 4:08 AM · Restricted Project, Restricted Project

Dec 25 2022

xen0n added inline comments to D138135: [lld][ELF] Support LoongArch.
Dec 25 2022, 8:14 AM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.

revert the broken TLS IE offset change

Dec 25 2022, 8:09 AM · Restricted Project, Restricted Project
xen0n accepted D137495: [LoongArch] Add GHC Calling Convention.

This is cleaner than previous revisions (which contained code model related changes) which is good. I've slightly adjusted the patch summary to remove the trivial bits and now inaccurate descriptions.

Dec 25 2022, 8:02 AM · Restricted Project, Restricted Project
xen0n updated the summary of D137495: [LoongArch] Add GHC Calling Convention.
Dec 25 2022, 8:00 AM · Restricted Project, Restricted Project
xen0n planned changes to D138135: [lld][ELF] Support LoongArch.

Seems something's broken with the change. I'll have to take care of this patch later (hopefully around early January) due to day job.

Dec 25 2022, 6:41 AM · Restricted Project, Restricted Project
xen0n updated the diff for D138135: [lld][ELF] Support LoongArch.
  • rebased
  • fixed TLS IE relocs (need an offset of 2 GOT entries) according to @MQ-mengqing's comment
  • added a few test cases; more in the works
  • minor refactoring
Dec 25 2022, 6:36 AM · Restricted Project, Restricted Project

Dec 23 2022

xen0n added a comment to D140607: [fuzzer] Don't hard-code page size in FuzzerUtil.h.

This change makes sense on LoongArch, and should cause no behavioral change on 4KiB-page platforms like X86, but more testing on other architectures (e.g. AArch64 systems with 16KiB or 64KiB pages) would be welcome.

Dec 23 2022, 12:13 AM · Restricted Project, Restricted Project
xen0n accepted D140601: [fuzzer] Enable loongarch64.

LGTM, thanks!

Dec 23 2022, 12:10 AM · Restricted Project, Restricted Project

Dec 22 2022

xen0n added inline comments to D140601: [fuzzer] Enable loongarch64.
Dec 22 2022, 7:27 PM · Restricted Project, Restricted Project

Dec 21 2022

xen0n accepted D139987: [Clang][LoongArch] Add intrinsic for rdtime_d, rdtimeh_w and rdtimel_w.
Dec 21 2022, 12:27 AM · Restricted Project, Restricted Project

Dec 18 2022

xen0n accepted D140282: [LoongArch] Break MUL into SLLI and SUB or ADD.
Dec 18 2022, 11:06 PM · Restricted Project, Restricted Project

Dec 15 2022

xen0n accepted D139499: [LoongArch] Add tests showing the optimization pipeline.

This is nice for being able to know if the pipeline is being affected by a change. Thanks for the addition.

Dec 15 2022, 6:50 PM · Restricted Project, Restricted Project

Dec 14 2022

xen0n added a comment to D139695: [compiler-rt][test] Don't hard-code page size in leak_check_segv.cpp.

This change is actually platform-agnostic. While it looks good to me (minus one nit) I'd like to leave the approval to someone else more familiar with this code.

Dec 14 2022, 12:45 AM · Restricted Project, Restricted Project

Dec 13 2022

xen0n accepted D137495: [LoongArch] Add GHC Calling Convention.

LGTM, thanks very much for the contribution!

Dec 13 2022, 6:17 PM · Restricted Project, Restricted Project

Dec 12 2022

xen0n added a comment to D139915: [Clang][LoongArch] Add intrinsic for asrtle, asrtgt, lddir, ldpte and cpucfg.

Linux only requires __cpucfg among the ones you just added. Please amend the patch summary so it's more accurate.

Dec 12 2022, 11:30 PM · Restricted Project, Restricted Project, Restricted Project
xen0n accepted D139802: [OpenMP] Skip extra blank line when parsing /proc/cpuinfo on LoongArch64.

Thank you very much, this now looks good from the LoongArch side.

Dec 12 2022, 1:13 AM · Restricted Project, Restricted Project
xen0n added inline comments to D139802: [OpenMP] Skip extra blank line when parsing /proc/cpuinfo on LoongArch64.
Dec 12 2022, 12:15 AM · Restricted Project, Restricted Project
xen0n retitled D139802: [OpenMP] Skip extra blank line when parsing /proc/cpuinfo on LoongArch64 from [OpenMP] Skip extra blank line when parsing /proc/cpuinfo in kmp_affinity.cpp on LoongArch64 to [OpenMP] Skip extra blank line when parsing /proc/cpuinfo on LoongArch64.
Dec 12 2022, 12:10 AM · Restricted Project, Restricted Project

Dec 10 2022

xen0n added inline comments to D131540: [test][NFC] Guard one test case against LLVM checkouts at interesting paths.
Dec 10 2022, 9:46 PM · Restricted Project, Restricted Project
xen0n updated the summary of D131540: [test][NFC] Guard one test case against LLVM checkouts at interesting paths.
Dec 10 2022, 9:45 PM · Restricted Project, Restricted Project
xen0n updated the diff for D131540: [test][NFC] Guard one test case against LLVM checkouts at interesting paths.

Favor touching nothing besides the lit directive as suggested by @lebedev.ri.

Dec 10 2022, 9:45 PM · Restricted Project, Restricted Project
xen0n retitled D131540: [test][NFC] Guard one test case against LLVM checkouts at interesting paths from [test][NFC] Strengthen an assertion for LLVM checkouts at interesting paths to [test][NFC] Guard one test case against LLVM checkouts at interesting paths.
Dec 10 2022, 4:53 PM · Restricted Project, Restricted Project
xen0n updated the diff for D131540: [test][NFC] Guard one test case against LLVM checkouts at interesting paths.

rebase

Dec 10 2022, 4:53 PM · Restricted Project, Restricted Project

Dec 8 2022

xen0n added inline comments to D139686: [lsan] Add lsan support for loongarch64.
Dec 8 2022, 8:01 PM · Restricted Project, Restricted Project, Restricted Project
xen0n accepted D139612: [Clang][LoongArch] Add intrinsic for iocsrrd and iocsrwr.

This should be good enough (reminiscent of CSR ops) but let's wait for other reviewers.

Dec 8 2022, 7:27 PM · Restricted Project, Restricted Project, Restricted Project
xen0n added inline comments to D139686: [lsan] Add lsan support for loongarch64.
Dec 8 2022, 7:09 PM · Restricted Project, Restricted Project, Restricted Project