Page MenuHomePhabricator

HsiangKai (Hsiangkai Wang)
User

Projects

User does not belong to any projects.

User Details

User Since
May 4 2016, 7:01 PM (359 w, 4 d)

Recent Activity

Mon, Mar 6

HsiangKai committed rG0847cc06a6c4: [NFC][AArch64] Use 'i' to encode the offset form of load/store. (authored by HsiangKai).
[NFC][AArch64] Use 'i' to encode the offset form of load/store.
Mon, Mar 6, 4:35 AM · Restricted Project, Restricted Project
HsiangKai closed D141819: [NFC][AArch64] Use 'i' to encode the offset form of load/store..
Mon, Mar 6, 4:35 AM · Restricted Project, Restricted Project

Feb 11 2023

HsiangKai committed rG08f31b8fa85c: [docs] Make consistent between MLIR tutorial doc and example code (authored by HsiangKai).
[docs] Make consistent between MLIR tutorial doc and example code
Feb 11 2023, 10:18 PM · Restricted Project, Restricted Project
HsiangKai committed rGc9a7b92a23bb: [AArch64] Consider tiny code model in emitLoadFromConstantPool. (authored by HsiangKai).
[AArch64] Consider tiny code model in emitLoadFromConstantPool.
Feb 11 2023, 10:18 PM · Restricted Project, Restricted Project
HsiangKai closed D143814: [docs] Make consistent between MLIR tutorial doc and example code.
Feb 11 2023, 10:18 PM · Restricted Project, Restricted Project
HsiangKai closed D132536: [AArch64] Consider tiny code model in emitLoadFromConstantPool..
Feb 11 2023, 10:18 PM · Restricted Project, Restricted Project
HsiangKai added a comment to D143814: [docs] Make consistent between MLIR tutorial doc and example code.

Thanks for the update!

Do you need someone to land this or do you have commit access?

Feb 11 2023, 10:10 PM · Restricted Project, Restricted Project
HsiangKai requested review of D143814: [docs] Make consistent between MLIR tutorial doc and example code.
Feb 11 2023, 7:15 AM · Restricted Project, Restricted Project

Jan 15 2023

HsiangKai requested review of D141819: [NFC][AArch64] Use 'i' to encode the offset form of load/store..
Jan 15 2023, 10:54 PM · Restricted Project, Restricted Project
HsiangKai requested review of D141817: [NFC][AArch64] Append 'W' to LDAPUR..
Jan 15 2023, 10:27 PM · Restricted Project, Restricted Project

Jan 12 2023

HsiangKai requested review of D141646: [NFC][LoopVectorize] Move WideningDecision close to its first use..
Jan 12 2023, 5:30 PM · Restricted Project, Restricted Project

Jan 8 2023

HsiangKai added inline comments to D141213: Add an AArch64 DAG combine to eliminate unnecessary XTN operations when truncating v1i64 to v1i32..
Jan 8 2023, 6:30 PM · Restricted Project, Restricted Project

Jan 4 2023

HsiangKai added inline comments to D140952: Teach the AArch64 backend to materialize immediates using a pair of ORR-immediate instructions..
Jan 4 2023, 6:49 PM · Restricted Project, Restricted Project

Dec 29 2022

HsiangKai committed rGaf5dd2706c84: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative (authored by HsiangKai).
[RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative
Dec 29 2022, 4:00 AM · Restricted Project, Restricted Project
HsiangKai committed rG002005e6740e: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative (authored by HsiangKai).
[RISCV] Add integer scalar instructions to isAssociativeAndCommutative
Dec 29 2022, 4:00 AM · Restricted Project, Restricted Project
HsiangKai closed D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.
Dec 29 2022, 3:59 AM · Restricted Project, Restricted Project
HsiangKai closed D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 29 2022, 3:59 AM · Restricted Project, Restricted Project

Dec 28 2022

HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Address comments.

Dec 28 2022, 8:18 PM · Restricted Project, Restricted Project
HsiangKai committed rG740cb3377d58: [RISCV][NFC] Remove redundant setOperationAction. (authored by HsiangKai).
[RISCV][NFC] Remove redundant setOperationAction.
Dec 28 2022, 1:25 AM · Restricted Project, Restricted Project
HsiangKai closed D140716: [RISCV][NFC] Remove redundant setOperationAction..
Dec 28 2022, 1:24 AM · Restricted Project, Restricted Project

Dec 27 2022

HsiangKai requested review of D140716: [RISCV][NFC] Remove redundant setOperationAction..
Dec 27 2022, 7:51 PM · Restricted Project, Restricted Project

Dec 26 2022

HsiangKai updated the diff for D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.

Rebase.

Dec 26 2022, 3:31 AM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
  • Add comment for MUL.
  • Add MIN(U)/MAX(U).
Dec 26 2022, 3:08 AM · Restricted Project, Restricted Project

Dec 25 2022

HsiangKai added a comment to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Have you had a chance to make some performance measurements?

Quoted from D138107,

I run C/C++ benchmarks in SPECrate 2017 on Fujitsu A64FX processor, which has two pipelines for integer operations and SIMD/FP operations each. 511.povray_r had 4% improvement. Other benchmarks (int: 500, 502, 505, 520, 523, 525, 531, 541, 557; fp: 508, 510, 519, 538, 544) were within 1% up/down. For a synthetic benchmark, it doubled the performance.

I have no performance number for RISC-V multiple issue machines. I am not sure what the impact is of the patch. Is there anyone can help to measure it?

Dec 25 2022, 8:52 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.

Remove unnecessary fast-math flags in the test cases.

Dec 25 2022, 7:06 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.
Dec 25 2022, 6:34 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 25 2022, 6:32 PM · Restricted Project, Restricted Project
HsiangKai added a comment to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Have you had a chance to make some performance measurements?

Dec 25 2022, 6:26 PM · Restricted Project, Restricted Project

Dec 22 2022

HsiangKai updated the diff for D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.

No need to check RmReassoc and FmNsz for fmin/fmax.

Dec 22 2022, 10:41 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 22 2022, 10:37 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

clang format

Dec 22 2022, 10:28 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
  • Move FRM operand checking to hasReassociableSibling.
  • Add ADD, SUB, ADDW, SUBW to getInverseOpcode and add test cases for the inverse cases.
Dec 22 2022, 10:25 PM · Restricted Project, Restricted Project
HsiangKai requested review of D140602: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative.
Dec 22 2022, 7:28 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 22 2022, 5:21 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Remove MULH, MULHU from the list.

Dec 22 2022, 5:21 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 22 2022, 2:31 AM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

clang format

Dec 22 2022, 1:10 AM · Restricted Project, Restricted Project
HsiangKai updated the diff for D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.

Add default case for the switch statement.

Dec 22 2022, 1:09 AM · Restricted Project, Restricted Project
HsiangKai abandoned D110831: [RISCV] Add undisturbed version of unmasked intrinsics..

Out of date.

Dec 22 2022, 1:03 AM · Restricted Project, Restricted Project
HsiangKai requested review of D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative.
Dec 22 2022, 1:01 AM · Restricted Project, Restricted Project

Oct 10 2022

HsiangKai added inline comments to D135633: [GlobalISel] Combine things like (z = x <= 0 ? z = x : z = 0) -> x & (x >> bw-1).
Oct 10 2022, 7:45 PM · Restricted Project, Restricted Project

Oct 4 2022

HsiangKai added inline comments to D135009: [RISCV] Refactor and improve eliminateFrameIndex..
Oct 4 2022, 1:27 AM · Restricted Project, Restricted Project

Sep 27 2022

HsiangKai added inline comments to D134711: [AArch64] Select SMULL for zero extended vectors when top bit is zero.
Sep 27 2022, 7:56 PM · Restricted Project, Restricted Project

Sep 25 2022

HsiangKai added a comment to D132536: [AArch64] Consider tiny code model in emitLoadFromConstantPool..

Are there existing IR tests that we can add run lines to?

Sep 25 2022, 7:52 PM · Restricted Project, Restricted Project

Sep 4 2022

HsiangKai added inline comments to D133213: [LLVM][AArch64] Explain that X19 is used as the frame base pointer register.
Sep 4 2022, 6:24 PM · Restricted Project, Restricted Project

Aug 25 2022

HsiangKai committed rGa8690143057b: [AArch64] Filter out invalid code model in frontend. (authored by HsiangKai).
[AArch64] Filter out invalid code model in frontend.
Aug 25 2022, 4:29 PM · Restricted Project, Restricted Project
HsiangKai closed D132538: [AArch64] Filter out invalid code model in frontend..
Aug 25 2022, 4:28 PM · Restricted Project, Restricted Project

Aug 24 2022

HsiangKai added inline comments to D132538: [AArch64] Filter out invalid code model in frontend..
Aug 24 2022, 6:32 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D132538: [AArch64] Filter out invalid code model in frontend..

Make the test lines consistent.

Aug 24 2022, 6:25 PM · Restricted Project, Restricted Project
HsiangKai requested review of D132538: [AArch64] Filter out invalid code model in frontend..
Aug 24 2022, 1:34 AM · Restricted Project, Restricted Project
HsiangKai requested review of D132536: [AArch64] Consider tiny code model in emitLoadFromConstantPool..
Aug 24 2022, 12:56 AM · Restricted Project, Restricted Project

May 2 2022

HsiangKai committed rG3baff8080447: [RISCV] Precommit test cases for (uaddo X, C) (authored by HsiangKai).
[RISCV] Precommit test cases for (uaddo X, C)
May 2 2022, 8:54 PM · Restricted Project, Restricted Project
HsiangKai committed rGeaaa31ff2c2b: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C). (authored by HsiangKai).
[RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C).
May 2 2022, 8:54 PM · Restricted Project, Restricted Project
HsiangKai closed D124602: [RISCV] Precommit test cases for (uaddo X, C).
May 2 2022, 8:53 PM · Restricted Project, Restricted Project
HsiangKai closed D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..
May 2 2022, 8:53 PM · Restricted Project, Restricted Project

Apr 28 2022

HsiangKai committed rGc62b014db979: [RISCV] Merge addi into load/store as there is a ADD between them (authored by HsiangKai).
[RISCV] Merge addi into load/store as there is a ADD between them
Apr 28 2022, 9:36 PM · Restricted Project, Restricted Project
HsiangKai closed D124231: [RISCV] Merge addi into load/store as there is a ADD between them.
Apr 28 2022, 9:36 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..

Address comments.

Apr 28 2022, 6:32 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124231: [RISCV] Merge addi into load/store as there is a ADD between them.

Address comments.

Apr 28 2022, 4:25 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..

Revert the change and modify the comments only.

Apr 28 2022, 4:21 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..
Apr 28 2022, 3:03 AM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..

Add predicate for (uaddo X, C).

Apr 28 2022, 2:57 AM · Restricted Project, Restricted Project
HsiangKai requested review of D124602: [RISCV] Precommit test cases for (uaddo X, C).
Apr 28 2022, 2:55 AM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124231: [RISCV] Merge addi into load/store as there is a ADD between them.

Take the return value of UpdateNodeOperands().

Apr 28 2022, 12:33 AM · Restricted Project, Restricted Project
HsiangKai added inline comments to D124231: [RISCV] Merge addi into load/store as there is a ADD between them.
Apr 28 2022, 12:23 AM · Restricted Project, Restricted Project

Apr 26 2022

HsiangKai updated the diff for D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..

Update failed PowerPC test cases.

Apr 26 2022, 12:06 AM · Restricted Project, Restricted Project

Apr 25 2022

HsiangKai updated the diff for D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..

Move new test cases to the end of the test file to remove unnecessary noises.

Apr 25 2022, 7:43 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..

Add test cases.

Apr 25 2022, 7:37 PM · Restricted Project, Restricted Project
HsiangKai requested review of D124374: [RISCV][TargetLowering] Special case overflow expansion for (uaddo X, C)..
Apr 25 2022, 3:43 AM · Restricted Project, Restricted Project

Apr 21 2022

HsiangKai updated the diff for D124231: [RISCV] Merge addi into load/store as there is a ADD between them.

Update test cases.

Apr 21 2022, 11:41 PM · Restricted Project, Restricted Project
HsiangKai updated the diff for D124231: [RISCV] Merge addi into load/store as there is a ADD between them.

It is not safe to do this peephole for ADD*W.

Apr 21 2022, 11:40 PM · Restricted Project, Restricted Project
HsiangKai added inline comments to D124231: [RISCV] Merge addi into load/store as there is a ADD between them.
Apr 21 2022, 11:34 PM · Restricted Project, Restricted Project
HsiangKai updated the summary of D124231: [RISCV] Merge addi into load/store as there is a ADD between them.
Apr 21 2022, 10:59 PM · Restricted Project, Restricted Project
HsiangKai requested review of D124231: [RISCV] Merge addi into load/store as there is a ADD between them.
Apr 21 2022, 10:58 PM · Restricted Project, Restricted Project

Apr 15 2022

HsiangKai added inline comments to D123264: [RISCV] Pre-RA expand pseudos pass.
Apr 15 2022, 7:55 AM · Restricted Project, Restricted Project
HsiangKai added inline comments to D123264: [RISCV] Pre-RA expand pseudos pass.
Apr 15 2022, 2:29 AM · Restricted Project, Restricted Project
HsiangKai added inline comments to D123264: [RISCV] Pre-RA expand pseudos pass.
Apr 15 2022, 1:26 AM · Restricted Project, Restricted Project
HsiangKai added inline comments to D123264: [RISCV] Pre-RA expand pseudos pass.
Apr 15 2022, 1:06 AM · Restricted Project, Restricted Project

Feb 28 2022

HsiangKai committed rGb8e296cf6a35: [AArch64][SME] Add rdsvl instruction (authored by HsiangKai).
[AArch64][SME] Add rdsvl instruction
Feb 28 2022, 3:15 PM
HsiangKai committed rG7dd7cb0487ca: [AArch64][SME] Add addsvl and addspl instructions (authored by HsiangKai).
[AArch64][SME] Add addsvl and addspl instructions
Feb 28 2022, 3:15 PM
HsiangKai closed D120603: [AArch64][SME] Add rdsvl instruction.
Feb 28 2022, 3:15 PM · Restricted Project
HsiangKai closed D120554: [AArch64][SME] Add addsvl and addspl instructions.
Feb 28 2022, 3:15 PM · Restricted Project

Feb 25 2022

HsiangKai requested review of D120603: [AArch64][SME] Add rdsvl instruction.
Feb 25 2022, 7:00 PM · Restricted Project
HsiangKai requested review of D120554: [AArch64][SME] Add addsvl and addspl instructions.
Feb 25 2022, 3:32 AM · Restricted Project
HsiangKai committed rG2cd675249d8d: [NFC][AArch64][SME] Remove '#' prefix in PSEL test cases (authored by HsiangKai).
[NFC][AArch64][SME] Remove '#' prefix in PSEL test cases
Feb 25 2022, 1:24 AM
HsiangKai closed D120543: [NFC][AArch64][SME] Remove '#' prefix in PSEL test cases.
Feb 25 2022, 1:24 AM · Restricted Project
HsiangKai requested review of D120543: [NFC][AArch64][SME] Remove '#' prefix in PSEL test cases.
Feb 25 2022, 12:04 AM · Restricted Project

Jan 25 2022

HsiangKai committed rG901dd53cbf61: [docs] There are more than three bit storage containers. (authored by HsiangKai).
[docs] There are more than three bit storage containers.
Jan 25 2022, 2:10 AM
HsiangKai committed rG48f763edb471: [docs] Refine the description in Set-Like and Map-Like container options. (authored by HsiangKai).
[docs] Refine the description in Set-Like and Map-Like container options.
Jan 25 2022, 2:10 AM
HsiangKai closed D117849: [docs] There are more than three bit storage containers..
Jan 25 2022, 2:09 AM · Restricted Project
HsiangKai closed D117858: [docs] Refine the description in Set-Like and Map-Like container options..
Jan 25 2022, 2:09 AM · Restricted Project

Jan 24 2022

HsiangKai updated the summary of D117858: [docs] Refine the description in Set-Like and Map-Like container options..
Jan 24 2022, 12:16 AM · Restricted Project
HsiangKai updated the summary of D117858: [docs] Refine the description in Set-Like and Map-Like container options..
Jan 24 2022, 12:16 AM · Restricted Project
HsiangKai updated the diff for D117858: [docs] Refine the description in Set-Like and Map-Like container options..

Update ProgrammersManual.rst according to @dexonsmith's suggestions.

Jan 24 2022, 12:13 AM · Restricted Project

Jan 23 2022

HsiangKai added inline comments to D117858: [docs] Refine the description in Set-Like and Map-Like container options..
Jan 23 2022, 11:50 PM · Restricted Project
HsiangKai retitled D117849: [docs] There are more than three bit storage containers. from [docs] There are four bit storage containers. to [docs] There are more than three bit storage containers..
Jan 23 2022, 11:46 PM · Restricted Project
HsiangKai added inline comments to D117849: [docs] There are more than three bit storage containers..
Jan 23 2022, 11:45 PM · Restricted Project
HsiangKai updated the diff for D117849: [docs] There are more than three bit storage containers..

Address dexonsmith's comments.

Jan 23 2022, 11:43 PM · Restricted Project

Jan 21 2022

HsiangKai requested review of D117858: [docs] Refine the description in Set-Like and Map-Like container options..
Jan 21 2022, 12:24 AM · Restricted Project

Jan 20 2022

HsiangKai requested review of D117849: [docs] There are more than three bit storage containers..
Jan 20 2022, 5:49 PM · Restricted Project