Page MenuHomePhabricator

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

Mel-Chen (Mel Chen)
User

Projects

User does not belong to any projects.

User Details

User Since
May 23 2022, 1:42 AM (71 w, 8 h)

Recent Activity

Fri, Sep 29

Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

It has been moved to github, please continue to review, thank you.
https://github.com/llvm/llvm-project/pull/67812

Fri, Sep 29, 7:39 AM · Restricted Project, Restricted Project

Mon, Sep 25

Mel-Chen accepted D157969: LoopVectorize/iv-select-cmp: add test for decreasing IV out-of-bound.

LG, thanks.

Mon, Sep 25, 4:20 AM · Restricted Project, Restricted Project

Sun, Sep 24

Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

I've looked at this patch several times, and applied it locally and played with it. I might not be the most qualified reviewer, but this patch is ready to land in my opinion. If anyone has any objections, please raise them now.

Sun, Sep 24, 7:43 PM · Restricted Project, Restricted Project

Mon, Sep 4

Mel-Chen committed rG26aed5b9a82b: [VPlan][LoopUtils] Remove unused parameter TTI (authored by Mel-Chen).
[VPlan][LoopUtils] Remove unused parameter TTI
Mon, Sep 4, 6:28 AM · Restricted Project, Restricted Project
Mel-Chen closed D158148: [VPlan][LoopUtils] Remove unused parameter TTI.
Mon, Sep 4, 6:27 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D158148: [VPlan][LoopUtils] Remove unused parameter TTI.

Rebase.

Mon, Sep 4, 3:31 AM · Restricted Project, Restricted Project

Aug 30 2023

Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

ping

Aug 30 2023, 3:19 AM · Restricted Project, Restricted Project

Aug 23 2023

Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Remove the unused parameter Prev in RecurrenceDescriptor::isFindLastIVPattern.

Aug 23 2023, 3:59 AM · Restricted Project, Restricted Project

Aug 22 2023

Mel-Chen added inline comments to D157861: LoopVectorize: vectorize finding first IV in select-cmp.
Aug 22 2023, 3:10 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.

@michaelmaitland Yes, with this example, the your transformation is possible.
However, this still remains a challenge that vectorizers need to address because we cannot restrict the input IR that goes into opt.
Therefore, I have provided a new case -- @select_i32_from_icmp_non_const_same_inputs:

Aug 22 2023, 12:23 AM · Restricted Project, Restricted Project

Aug 21 2023

Mel-Chen updated the diff for D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.

Add test case @select_i32_from_icmp_non_const_same_inputs.

Aug 21 2023, 11:55 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Changes:

  • Rebase
  • Format some code
  • New test cases @not_vectorized_select_icmp_const_cmp_in_recurrence and @not_vectorized_select_icmp_cmp_in_recurrence in Transforms/LoopVectorize/iv-select-cmp.ll.
  • Not allow the inclusion of cmp instructions in FindLast recurrence, as I mentioned in the pre-commit revision D157375. The examples are @not_vectorized_select_icmp_const_cmp_in_recurrence and @not_vectorized_select_icmp_cmp_in_recurrence in Transforms/LoopVectorize/iv-select-cmp.ll.
Aug 21 2023, 1:52 AM · Restricted Project, Restricted Project

Aug 16 2023

Mel-Chen added reviewers for D158148: [VPlan][LoopUtils] Remove unused parameter TTI: fhahn, ABataev.
Aug 16 2023, 11:31 PM · Restricted Project, Restricted Project
Mel-Chen requested review of D158148: [VPlan][LoopUtils] Remove unused parameter TTI.
Aug 16 2023, 11:28 PM · Restricted Project, Restricted Project
Mel-Chen committed rG463e7cb89278: [LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc (authored by Mel-Chen).
[LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc
Aug 16 2023, 7:38 PM · Restricted Project, Restricted Project
Mel-Chen closed D158058: [LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc.
Aug 16 2023, 7:38 PM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D158058: [LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc.
Aug 16 2023, 7:00 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D158058: [LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc.

Thanks for Florian's reminder!
Rebase and clang-format it again.

Aug 16 2023, 6:53 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.

I think it makes sense to have a test like this in any case to make sure it is handled correctly.

Aug 16 2023, 3:29 AM · Restricted Project, Restricted Project
Mel-Chen added a reviewer for D158058: [LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc: fhahn.
Aug 16 2023, 1:58 AM · Restricted Project, Restricted Project
Mel-Chen requested review of D158058: [LV][VPlan] Refactor VPReductionRecipe to use reference for member RdxDesc.
Aug 16 2023, 1:57 AM · Restricted Project, Restricted Project

Aug 13 2023

Mel-Chen added a comment to D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.

Ping

Aug 13 2023, 11:09 PM · Restricted Project, Restricted Project

Aug 8 2023

Mel-Chen updated the diff for D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.

Corrected the debug message in test case.

Aug 8 2023, 11:32 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Rebase.

Aug 8 2023, 9:01 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Minor changes. Remove the changes that should not be in this patch.

Aug 8 2023, 8:57 PM · Restricted Project, Restricted Project
Mel-Chen updated the summary of D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.
Aug 8 2023, 2:15 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
Aug 8 2023, 2:00 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Rebase, and here is a summary of the changes:

Aug 8 2023, 1:57 AM · Restricted Project, Restricted Project
Mel-Chen requested review of D157375: [LV] Pre-commit test case for AnyOf reduction , NFC.
Aug 8 2023, 1:43 AM · Restricted Project, Restricted Project

Aug 3 2023

Mel-Chen committed rG425e9e81a0c9: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC) (authored by Mel-Chen).
[LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC)
Aug 3 2023, 12:38 AM · Restricted Project, Restricted Project
Mel-Chen closed D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Aug 3 2023, 12:37 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).

Rebase, and update the comment.

Aug 3 2023, 12:30 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Aug 3 2023, 12:30 AM · Restricted Project, Restricted Project

Aug 2 2023

Mel-Chen committed rG97cccdd9f3c5: [LV][NFC] Remove the redundant braces. (authored by Mel-Chen).
[LV][NFC] Remove the redundant braces.
Aug 2 2023, 8:46 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).

Change:

  • Replaced all SelectCmp.* with AnyOf.*
  • Fixed comments.
Aug 2 2023, 3:24 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Aug 2 2023, 3:23 AM · Restricted Project, Restricted Project

Jul 31 2023

Mel-Chen updated the diff for D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).

Fixed typo.

Jul 31 2023, 8:13 PM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 31 2023, 8:13 PM · Restricted Project, Restricted Project
Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
  1. Only target induction variables that determine the branch condition in the loop latch. With this approach, we can indirectly determine whether the induction variable is signed using loop guards, and directly perform vectorization according to the signed overflow is undefined behavior.

@Mel-Chen I like this option. But I don't think I understand fully - what's the purposes of determining whether the induction variable is signed?

Jul 31 2023, 3:04 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Thanks for the detailed thoughts, Mel! My initial reaction is that (2) is probably unworkable due to the fallout, and that (3) isn't general enough. I'm leaning towards trying out (1) -- I'll see how that works out over the next few days.

Jul 31 2023, 2:37 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 31 2023, 2:06 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 31 2023, 2:03 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).

Rebase and update according to comments.

Jul 31 2023, 1:57 AM · Restricted Project, Restricted Project
Mel-Chen committed rG59629429028b: [LV][NFC] Refine comments related to reduction idioms. (authored by Mel-Chen).
[LV][NFC] Refine comments related to reduction idioms.
Jul 31 2023, 12:12 AM · Restricted Project, Restricted Project

Jul 30 2023

Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 30 2023, 11:36 PM · Restricted Project, Restricted Project

Jul 25 2023

Mel-Chen accepted D156152: LoopVectorize/iv-select-cmp: add test for decreasing IV, const start.

LG

Jul 25 2023, 8:31 PM · Restricted Project, Restricted Project
Mel-Chen added a comment to D156124: LoopVectorize/iv-select-cmp: add tests for truncated IV.

Based on my response https://reviews.llvm.org/D150851#4531155, do you have any thoughts?
If you choose option 3, this patch can be landed.
If you choose option 1, this case can be cleaned up into three blocks: entry, for.body, and exit.
If you choose option 2, then this test case is not needed.

Jul 25 2023, 8:05 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).

Update the patch according to the comments.

Jul 25 2023, 2:32 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 25 2023, 2:09 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

May I suggest using the logic outlined in isInductionMinMaxPattern in D152693?

It's not that simple, as you'd lose the information about hasNoSignedWrap from the AR of the trunc. I've also been playing with attempting to extend this patch to the decreasing IV case, and it seems we've painted ourselves into a corner by being more concerned about the codegen performance than the generality of the patch: the constant IV start is a serious limitation when looking at the decreasing IV case. I think other reviewers like @fhahn and @Ayal have also expressed interest in greater generality (perhaps at the cost of codegen performance).

Jul 25 2023, 1:07 AM · Restricted Project, Restricted Project

Jul 24 2023

Mel-Chen added inline comments to D156124: LoopVectorize/iv-select-cmp: add tests for truncated IV.
Jul 24 2023, 11:51 PM · Restricted Project, Restricted Project

Jul 19 2023

Mel-Chen updated the summary of D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
Jul 19 2023, 11:57 PM · Restricted Project, Restricted Project
Mel-Chen updated the summary of D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 19 2023, 11:56 PM · Restricted Project, Restricted Project
Mel-Chen added reviewers for D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC): Ayal, artagnon, david-arm, fhahn.
Jul 19 2023, 11:53 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Changes:

  • Rename Select[I|F]Cmp to [I|F]AnyOf
  • Rename SelectIV[I|F]Cmp to [I|F]FindLastIV
Jul 19 2023, 11:49 PM · Restricted Project, Restricted Project
Mel-Chen requested review of D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC).
Jul 19 2023, 11:45 PM · Restricted Project, Restricted Project
Mel-Chen committed rG4ddc1745a84d: [LV] Add tests for select-cmp reduction pattern. (NFC) (authored by Mel-Chen).
[LV] Add tests for select-cmp reduction pattern. (NFC)
Jul 19 2023, 8:18 PM · Restricted Project, Restricted Project
Mel-Chen closed D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).
Jul 19 2023, 8:17 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).

Changes:

  • Drop the suffix of variable name
  • Replace select_icmp_const_3 with select_icmp_const_3_variable_rdx_start
  • Replace %ii with %rdx.start
Jul 19 2023, 8:15 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Rebase.

Jul 19 2023, 1:14 AM · Restricted Project, Restricted Project

Jul 18 2023

Mel-Chen updated the diff for D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).

Changes:

  • Replace select_icmp_min_iv_start_value with select_icmp_min_valid_iv_start
Jul 18 2023, 11:54 PM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D154415: [LV] Change the test cases to ensure that the trip count is not zero. (NFC).
Jul 18 2023, 7:56 PM · Restricted Project, Restricted Project

Jul 11 2023

Mel-Chen committed rG0158d86ab3e3: [LV] Change the test cases to ensure that the trip count is not zero. (NFC) (authored by Mel-Chen).
[LV] Change the test cases to ensure that the trip count is not zero. (NFC)
Jul 11 2023, 7:13 PM · Restricted Project, Restricted Project
Mel-Chen closed D154415: [LV] Change the test cases to ensure that the trip count is not zero. (NFC).
Jul 11 2023, 7:13 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Rebase.

Jul 11 2023, 2:05 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D154415: [LV] Change the test cases to ensure that the trip count is not zero. (NFC).

ping

Jul 11 2023, 1:57 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).

Changes:

  • Change the name of phi
  • Add a negative test case
Jul 11 2023, 1:56 AM · Restricted Project, Restricted Project

Jul 10 2023

Mel-Chen added inline comments to D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).
Jul 10 2023, 10:53 PM · Restricted Project, Restricted Project
Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Yes, I can confirm that there is indeed a bug. Thanks for catching it! I'm thinking about a fix now.

Jul 10 2023, 3:08 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Would be good to try and find more accurate names than using Select*Cmp combinations. A Compare-Select pattern is also used in the existing Min/Max reduction, but has a much better name.

I agree with @Ayal: I also got confused by the SelectCmp naming convention initially. Perhaps [I|F]AnyOfInv, [I|F]AnyOfInc, and [I|F]AnyOfDec, and rename the corresponding function isAnyOfReduction? I don't have a strong preference for the rename.

Jul 10 2023, 2:58 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).

ping

Jul 10 2023, 2:25 AM · Restricted Project, Restricted Project

Jul 7 2023

Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Update: I could found an example where the approach in D152693 lead to incorrect result:
Assuming start_value is 3, and red_part is {0, 1, 2, 3} in the end. If the 3 is updated from the loop, not from the start_value , red should be 3 instead of 2.

Jul 7 2023, 4:40 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Would be good to try and find more accurate names than using Select*Cmp combinations. A Compare-Select pattern is also used in the existing Min/Max reduction, but has a much better name.

Jul 7 2023, 1:48 AM · Restricted Project, Restricted Project

Jul 4 2023

Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Changes:

  • Update comments. (Artagnon and Shiva's comments)
Jul 4 2023, 11:43 PM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
Jul 4 2023, 1:41 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Changes:

  • Fix the test cases, D154415. (Ayal's comment)
Jul 4 2023, 1:34 AM · Restricted Project, Restricted Project
Mel-Chen added a reviewer for D154415: [LV] Change the test cases to ensure that the trip count is not zero. (NFC): Ayal.
Jul 4 2023, 1:30 AM · Restricted Project, Restricted Project
Mel-Chen added a reviewer for D154415: [LV] Change the test cases to ensure that the trip count is not zero. (NFC): fhahn.
Jul 4 2023, 1:29 AM · Restricted Project, Restricted Project
Mel-Chen requested review of D154415: [LV] Change the test cases to ensure that the trip count is not zero. (NFC).
Jul 4 2023, 1:28 AM · Restricted Project, Restricted Project

Jun 29 2023

Mel-Chen added a comment to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

A selecting reduction could report the index of the value reduced in addition to the value itself. If the reduced value appears multiple times, the index of the first or last appearance can be reported. Tests for such MinLast cases, aka argmin, were introduced in 4f04be564907f, and are yet to be vectorized by LV - hope this patch helps us get there! These are compound patterns combining three header phi's: an induction and two reductions.

Jun 29 2023, 3:08 AM · Restricted Project, Restricted Project

Jun 28 2023

Mel-Chen added inline comments to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
Jun 28 2023, 8:49 PM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
Jun 28 2023, 2:52 AM · Restricted Project, Restricted Project
Mel-Chen added reviewers for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable: shiva0217, artagnon.
Jun 28 2023, 1:11 AM · Restricted Project, Restricted Project
Mel-Chen added a comment to D152693: LoopVectorize: introduce RecurKind::Induction(I|F)(Max|Min).

I'm glad that others have also noticed this, especially the implementation of the select-cmp pattern for decreasing induction variables. The select-cmp pattern for decreasing induction variables is a function that I haven't implemented yet. Have you come across any real applications or benchmarks that make use of it.

Jun 28 2023, 1:10 AM · Restricted Project, Restricted Project

Jun 27 2023

Mel-Chen added reviewers for D153936: [LV] Add tests for select-cmp reduction pattern. (NFC): fhahn, shiva0217, artagnon.
Jun 27 2023, 8:46 PM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Changes:

  • Remove the redundant comment. (fhahn's comment)
  • Separate testing and implementation. (fhahn's comment)
Jun 27 2023, 8:42 PM · Restricted Project, Restricted Project
Mel-Chen requested review of D153936: [LV] Add tests for select-cmp reduction pattern. (NFC).
Jun 27 2023, 8:36 PM · Restricted Project, Restricted Project

Jun 12 2023

Mel-Chen added inline comments to D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
Jun 12 2023, 6:23 AM · Restricted Project, Restricted Project

Jun 5 2023

Mel-Chen updated the diff for D143465: [LoopVectorize] Vectorize the reduction pattern of integer min/max with index..

Changes:

  • Format and minor fix
Jun 5 2023, 7:16 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D149731: [IR] New function llvm::createMinMaxSelectCmpOp for creating min/max operation in select-cmp form.
Jun 5 2023, 2:05 AM · Restricted Project, Restricted Project
Mel-Chen retitled D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable from [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable (WIP) to [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable .
Jun 5 2023, 1:45 AM · Restricted Project, Restricted Project

May 31 2023

Mel-Chen updated the summary of D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
May 31 2023, 3:14 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.

Changes:

  • Add test cases
  • Check the bound of increasing induction variable
May 31 2023, 3:14 AM · Restricted Project, Restricted Project

May 18 2023

Mel-Chen updated the summary of D143465: [LoopVectorize] Vectorize the reduction pattern of integer min/max with index..
May 18 2023, 3:01 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D143465: [LoopVectorize] Vectorize the reduction pattern of integer min/max with index..

Changes:

  • Split SelectIVICmp and SelectIVFCmp out
  • Add Comment
  • Minor refine the code
May 18 2023, 2:46 AM · Restricted Project, Restricted Project
Mel-Chen requested review of D150851: [LoopVectorize] Vectorize select-cmp reduction pattern for increasing integer induction variable.
May 18 2023, 2:43 AM · Restricted Project, Restricted Project

May 3 2023

Mel-Chen added inline comments to D149731: [IR] New function llvm::createMinMaxSelectCmpOp for creating min/max operation in select-cmp form.
May 3 2023, 4:03 AM · Restricted Project, Restricted Project
Mel-Chen updated the summary of D149731: [IR] New function llvm::createMinMaxSelectCmpOp for creating min/max operation in select-cmp form.
May 3 2023, 3:36 AM · Restricted Project, Restricted Project
Mel-Chen updated the diff for D149731: [IR] New function llvm::createMinMaxSelectCmpOp for creating min/max operation in select-cmp form.

Update commit log.

May 3 2023, 3:35 AM · Restricted Project, Restricted Project
Mel-Chen added inline comments to D149731: [IR] New function llvm::createMinMaxSelectCmpOp for creating min/max operation in select-cmp form.
May 3 2023, 2:17 AM · Restricted Project, Restricted Project