# User Details

User Details

- User Since
- Feb 7 2023, 1:48 AM (32 w, 3 d)

# Thu, Sep 21

Thu, Sep 21

dtcxzyw committed rG1a73a6b80b54: [InstCombine] Add pre-commit tests for PR66733. NFC. (authored by dtcxzyw).

[InstCombine] Add pre-commit tests for PR66733. NFC.

# Tue, Sep 19

Tue, Sep 19

dtcxzyw committed rG93fde2ea1b2c: [RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose… (authored by dtcxzyw).

[RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose…

dtcxzyw updated the diff for D158759: [RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose return values are unused.

Rebase.

# Mon, Sep 18

Mon, Sep 18

dtcxzyw added a comment to D153148: [InstCombine] Fold `(-1 + A) & B` into `A ? 0 : B` where A is effectively a bool.

Ping.

dtcxzyw committed rG4ea883cbbbdd: [InstCombine] Add pre-commit tests for PR66606. NFC. (authored by dtcxzyw).

[InstCombine] Add pre-commit tests for PR66606. NFC.

dtcxzyw committed rGc2e248cc47b1: [InstCombine] Fix typo in the test `icmp-range.ll`. NFC. (authored by dtcxzyw).

[InstCombine] Fix typo in the test `icmp-range.ll`. NFC.

dtcxzyw committed rGd10ee8942f7e: [InstCombine] Add `sext` version of pre-commit tests for PR65852. NFC. (authored by dtcxzyw).

[InstCombine] Add `sext` version of pre-commit tests for PR65852. NFC.

dtcxzyw committed rG2a38d8391868: [InstSimplify] Add pre-commits for PR#66606. NFC. (authored by dtcxzyw).

[InstSimplify] Add pre-commits for PR#66606. NFC.

dtcxzyw committed rGdc118147f24e: [InstCombine] Add pre-commit tests for PR65073. NFC. (authored by dtcxzyw).

[InstCombine] Add pre-commit tests for PR65073. NFC.

# Sun, Sep 17

Sun, Sep 17

dtcxzyw committed rGa054d89cd494: [InstSimplify] Add signed version of pre-commit tests for PR65905. NFC. (authored by dtcxzyw).

[InstSimplify] Add signed version of pre-commit tests for PR65905. NFC.

dtcxzyw committed rG2f45b56728db: [InstSimplify] Add pre-commit tests for PR65905. NFC. (authored by dtcxzyw).

[InstSimplify] Add pre-commit tests for PR65905. NFC.

dtcxzyw committed rG3aec4f9ae3b8: [InstCombine] Add pre-commit tests for PR65845 (authored by dtcxzyw).

[InstCombine] Add pre-commit tests for PR65845

dtcxzyw updated the diff for D158759: [RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose return values are unused.

- Rebase
- Use
`TargetInstrInfo::getRegClass`

# Sat, Sep 16

Sat, Sep 16

dtcxzyw committed rGe042ff7eefff: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb (authored by dtcxzyw).

[SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb

dtcxzyw committed rGbce6c53464c1: [InstSimplify] Add pre-commit tests for PR65910. NFC. (authored by dtcxzyw).

[InstSimplify] Add pre-commit tests for PR65910. NFC.

dtcxzyw added a comment to D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

Ping.

dtcxzyw added a comment to D158759: [RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose return values are unused.

Ping.

dtcxzyw added inline comments to D156238: [InstCombine] Generalize foldICmpWithMinMax.

dtcxzyw committed rG5163319ee2a0: [InstCombine] Use `ConstantInt::getBool` instead of `Constant::getIntegerValue`. (authored by dtcxzyw).

[InstCombine] Use `ConstantInt::getBool` instead of `Constant::getIntegerValue`.

dtcxzyw committed rGb423e1f05dc3: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a… (authored by dtcxzyw).

[SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a…

# Fri, Sep 15

Fri, Sep 15

dtcxzyw added a comment to D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs.

Ping.

# Mon, Sep 11

Mon, Sep 11

dtcxzyw added inline comments to D153148: [InstCombine] Fold `(-1 + A) & B` into `A ? 0 : B` where A is effectively a bool.

# Sun, Sep 10

Sun, Sep 10

dtcxzyw committed rG32ad45556e9c: [InstCombine] Add test cases from PR62898. NFC. (authored by dtcxzyw).

[InstCombine] Add test cases from PR62898. NFC.

dtcxzyw committed rG44e5afdb91b9: [InstCombine] Generalize foldICmpWithMinMax (authored by dtcxzyw).

[InstCombine] Generalize foldICmpWithMinMax

dtcxzyw committed rG780b046bd016: [InstCombine] Use m_c_And/m_c_Or instead of duplicate logic. NFC. (authored by dtcxzyw).

[InstCombine] Use m_c_And/m_c_Or instead of duplicate logic. NFC.

dtcxzyw updated the diff for D153148: [InstCombine] Fold `(-1 + A) & B` into `A ? 0 : B` where A is effectively a bool.

Rebase.

dtcxzyw added a comment to D156238: [InstCombine] Generalize foldICmpWithMinMax.

@goldstein.w.n Could you please take a look at the test part D156227?

# Sat, Sep 9

Sat, Sep 9

dtcxzyw added a comment to D158956: [RISCV] Initial ISel support for the experimental zacas extension.

Ping.

dtcxzyw added a comment to D153505: [ConstantRange] Handle `Intrinsic::cttz` and `Intrinsic::ctpop`.

Ping.

dtcxzyw added a reviewer for D153505: [ConstantRange] Handle `Intrinsic::cttz` and `Intrinsic::ctpop`: fhahn.

dtcxzyw updated the diff for D156238: [InstCombine] Generalize foldICmpWithMinMax.

Rebase

dtcxzyw updated the diff for D156227: [InstCombine] Add test cases from PR62898. NFC..

Add vector tests

# Fri, Sep 8

Fri, Sep 8

dtcxzyw added a comment to D153148: [InstCombine] Fold `(-1 + A) & B` into `A ? 0 : B` where A is effectively a bool.

Ping.

dtcxzyw added a comment to D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

Ping.

dtcxzyw added reviewers for D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb: asb, reames, kito-cheng.

dtcxzyw updated the diff for D158759: [RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose return values are unused.

- Rebase
- Skip computational instrs
- Handle PseudoVSETVLIs (related patch: D124961)

dtcxzyw updated the diff for D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs.

Update diff with full context

dtcxzyw updated the diff for D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs.

- Rebase
- Address feedback

# Wed, Aug 30

Wed, Aug 30

dtcxzyw updated the diff for D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

- Rebase
- Move fixed-length vector tests into fixed-vectors-ctpop.ll

- Rebase on the top of pre-commit tests
- Drop curly braces

[RISCV] Add pre-commit tests for D158759

- Rebase
- Handle computational instrs

# Tue, Aug 29

Tue, Aug 29

dtcxzyw added inline comments to D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

dtcxzyw committed rG074f23e3e199: [InstCombine] Fold two select patterns into or-and (authored by dtcxzyw).

[InstCombine] Fold two select patterns into or-and

dtcxzyw added inline comments to D156238: [InstCombine] Generalize foldICmpWithMinMax.

dtcxzyw updated the diff for D156238: [InstCombine] Generalize foldICmpWithMinMax.

- Rebase
- Add some vector tests
- Handle vector icmp

dtcxzyw updated the diff for D158956: [RISCV] Initial ISel support for the experimental zacas extension.

- Rebase
- Remove
`Sched`

dtcxzyw updated the diff for D158983: [InstCombine] Fold two select patterns into or-and.

- Rebase
- Fold
`select (a | c), a, b -> select a, true, (select ~c, b, false)`where`c`is free to invert. - Add more tests for the generalized transform

dtcxzyw updated the diff for D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

- Rebase
- Add fixed-length vector tests with +v,+zvbb

dtcxzyw updated the diff for D156238: [InstCombine] Generalize foldICmpWithMinMax.

- Rebase
- Address comments

dtcxzyw added a reviewer for D156227: [InstCombine] Add test cases from PR62898. NFC.: goldstein.w.n.

dtcxzyw updated the diff for D156227: [InstCombine] Add test cases from PR62898. NFC..

Add commuted tests

# Mon, Aug 28

Mon, Aug 28

dtcxzyw updated the diff for D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs.

- Rebase
- Fix Mips16 regression tests

dtcxzyw added inline comments to D156238: [InstCombine] Generalize foldICmpWithMinMax.

dtcxzyw updated the diff for D158983: [InstCombine] Fold two select patterns into or-and.

Rebase.

dtcxzyw committed rG446f3c23a4c6: [InstCombine] Add pre-commit tests from PR64558. NFC. (authored by dtcxzyw).

[InstCombine] Add pre-commit tests from PR64558. NFC.

dtcxzyw added a comment to D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs.

dtcxzyw added inline comments to D156238: [InstCombine] Generalize foldICmpWithMinMax.

dtcxzyw updated the diff for D158983: [InstCombine] Fold two select patterns into or-and.

Add commuted tests and negative tests.

dtcxzyw added inline comments to D158983: [InstCombine] Fold two select patterns into or-and.

dtcxzyw updated the diff for D158983: [InstCombine] Fold two select patterns into or-and.

Cleanup tests.

dtcxzyw added inline comments to D158983: [InstCombine] Fold two select patterns into or-and.

dtcxzyw updated the diff for D158983: [InstCombine] Fold two select patterns into or-and.

Fix the transformation.

dtcxzyw requested review of D158983: [InstCombine] Fold two select patterns into or-and.

dtcxzyw updated the summary of D158956: [RISCV] Initial ISel support for the experimental zacas extension.

# Sun, Aug 27

Sun, Aug 27

dtcxzyw requested review of D158956: [RISCV] Initial ISel support for the experimental zacas extension.

# Sat, Aug 26

Sat, Aug 26

dtcxzyw updated the diff for D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

- Rebase
- Add fixed-length vector tests

dtcxzyw updated the diff for D156238: [InstCombine] Generalize foldICmpWithMinMax.

- Rebase
- Update comments

dtcxzyw added inline comments to D156238: [InstCombine] Generalize foldICmpWithMinMax.

- Rebase
- Fix ARM/RISCV regression tests

# Fri, Aug 25

Fri, Aug 25

dtcxzyw added inline comments to D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

dtcxzyw updated the diff for D156238: [InstCombine] Generalize foldICmpWithMinMax.

- Rebase
- Address feedback

- Rebase
- Expand ATOMIC_LOAD_SUB to NEG+ATOMIC_LOAD_LOAD in LegalizeDAG::ExpandNode

- Rebase
- Handle volatile loads

dtcxzyw added inline comments to D153148: [InstCombine] Fold `(-1 + A) & B` into `A ? 0 : B` where A is effectively a bool.

# Thu, Aug 24

Thu, Aug 24

dtcxzyw added a comment to D158673: [SDAG][RISCV] Avoid neg instructions when lowering atomic_load_sub with a constant rhs.

- Rebase
- Address feedback

dtcxzyw added a comment to D158759: [RISCV] Add a pass to rewrite rd to x0 for non-computational instrs whose return values are unused.

dtcxzyw added inline comments to D156238: [InstCombine] Generalize foldICmpWithMinMax.

dtcxzyw added a comment to D153148: [InstCombine] Fold `(-1 + A) & B` into `A ? 0 : B` where A is effectively a bool.

Ping.

dtcxzyw added a comment to D156238: [InstCombine] Generalize foldICmpWithMinMax.

Ping.

dtcxzyw added a comment to D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

Ping.

# Aug 23 2023

Aug 23 2023

- Rebase
- Address comments

dtcxzyw committed rGd6639f83a98f: [SDAG][RISCV] Avoid folding `setcc (xor C1, -1), C2, cond` into `setcc (xor C2… (authored by dtcxzyw).

[SDAG][RISCV] Avoid folding `setcc (xor C1, -1), C2, cond` into `setcc (xor C2…

# Jul 27 2023

Jul 27 2023

dtcxzyw added inline comments to D156390: [SDAG][RISCV] Avoid expanding is-power-of-2 pattern on riscv32/64 with zbb.

Tune instseq for `ctpop_i32/64_ugt_one`.