Page MenuHomePhabricator

pjeeva01 (Jeeva P.)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 19 2018, 7:55 AM (236 w, 5 d)

Recent Activity

Apr 16 2021

pjeeva01 accepted D100478: [PowerPC] Canonicalize shuffles on big endian targets as well.

LGTM.

Apr 16 2021, 5:07 AM · Restricted Project

Mar 1 2021

pjeeva01 accepted D97487: Removing sqrtd2 and sqrtf4 from list of vectorizable function with MASSV.

LGTM

Mar 1 2021, 6:40 AM · Unknown Object (Project), Restricted Project

Feb 25 2021

pjeeva01 added inline comments to D97487: Removing sqrtd2 and sqrtf4 from list of vectorizable function with MASSV.
Feb 25 2021, 1:34 PM · Unknown Object (Project), Restricted Project
pjeeva01 added a comment to D97487: Removing sqrtd2 and sqrtf4 from list of vectorizable function with MASSV.
Feb 25 2021, 1:32 PM · Unknown Object (Project), Restricted Project

Jan 19 2021

pjeeva01 accepted D94710: [Analysis] Support AIX vec_malloc routines.
Jan 19 2021, 6:08 AM · Restricted Project

Jan 14 2021

pjeeva01 added a comment to D94710: [Analysis] Support AIX vec_malloc routines.

This change LGTM. Lets wait for a few days to give others time to take a look as well.

Jan 14 2021, 12:35 PM · Restricted Project

Nov 2 2020

pjeeva01 added a comment to D88922: [CMake] Avoid accidental C++ standard library dependency in sanitizers.

Commit 6db314e86b26741c2e29ce51d88a6a5dca35336c causes following failure:

Nov 2 2020, 1:19 PM · Restricted Project

Jul 30 2020

pjeeva01 accepted D83824: [NFC] [LV] Vectorized Loop Skeleton Refactoring.

LGTM

Jul 30 2020, 8:14 AM · Restricted Project

Jul 22 2020

pjeeva01 added a comment to D83824: [NFC] [LV] Vectorized Loop Skeleton Refactoring.

This refactoring looks reasonable to me. I've left some comments inline.

Jul 22 2020, 2:25 PM · Restricted Project

Feb 28 2020

pjeeva01 added a comment to D75354: Add InjectTLIMappings pass to new pass manager.

Since the InjectTLIMappings pass impacts mappings of scalar math functions to their vector counterparts in all three of the currently supported vector libraries, I would like to suggest adding a test case for each one of them. In other words, testing in the presence of -fveclib=Accelerate, -fveclib=SVML, and -fveclib=MASSV libraries.

Feb 28 2020, 8:51 AM · Restricted Project

Nov 4 2019

pjeeva01 added a comment to D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

@jsji @nemanjai I dont have commit access, could you please commit this patch for me? Thanks.

Nov 4 2019, 7:09 AM · Restricted Project

Oct 31 2019

pjeeva01 added a comment to D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

@jsji Using setLibcallName to override the generic fun*_massv names with target specific names is feasible. However, it entails extension of ISDNodes to support vector types as well. Furthermore, with the current infrastructure, distinguishing MASSV calls from a list of scalar math, and other runtime library calls will incur the overheads of look up and comparison.

Oct 31 2019, 7:32 AM · Restricted Project

Aug 29 2019

pjeeva01 added a comment to D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.
  1. *_massv functions serve as place holder for math functions during loop vectorization. They are not actual entries in the MASS library. I think lowering them to actual entries in the MASS library deserves a separate pass rather than polluting the TargetLowering.cpp, which is already big as it is.

Why this has to be in TargetLowering.cpp, they can be in PPCISelLowering.cpp.

  1. If we were to use setLibcallName, we would need to repeat the list of all supported MASS entries in TargetLowering as well. With the current structure, we are reusing the list in VecFuncs.def. Also, this structure sits well with vectorization of math functions with other libraries too, namely: SVML and Accelerate.

Why we can't reusing the list in VecFuncs.def with setLibcallName?

Aug 29 2019, 6:52 AM · Restricted Project

Aug 28 2019

pjeeva01 added a comment to D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

A separate pass for MASSV lowering is worthwhile because it allows better separation of concerns.
In the future, if need be, other PPC sub-target specific lowering decisions for MASSV may be encapsulated in this pass too.

What is the benefits other than allows better separation of concerns?
I don't see this compelling reason to be a pass, especially considering the unnecessary compile time it will cost.

Aug 28 2019, 11:03 AM · Restricted Project
pjeeva01 updated the diff for D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

Addressed review comments in this diff:

  1. use -mattr instead of relying attributes on the caller; separate the tests to a separate .ll file
  2. add -verify-machineinstrs to the run line
  3. combine multiple check-prefix into one check-prefixes
  4. remove datalayout and triple from the .ll file
Aug 28 2019, 8:59 AM · Restricted Project
pjeeva01 added a comment to D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

Why we need a new pass to do this simple lowering?
Why can't we do it similar to InitLibcalls and change the suffixes for subtarget using setLibcallName?

Aug 28 2019, 8:03 AM · Restricted Project

Jul 22 2019

pjeeva01 updated the diff for D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

Re-basing this patch off of the patch in https://reviews.llvm.org/D59881

Jul 22 2019, 12:19 PM · Restricted Project
pjeeva01 added a comment to D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.

ping @nemanjai @jsji

Jul 22 2019, 12:19 PM · Restricted Project

Jun 5 2019

pjeeva01 added a comment to D59881: Initial support for vectorization using MASSV (IBM MASS vector library).

The LLVM portion of this patch committed in https://reviews.llvm.org/rL362568.

Jun 5 2019, 6:09 AM · Restricted Project

May 16 2019

pjeeva01 updated the diff for D59881: Initial support for vectorization using MASSV (IBM MASS vector library).

This patch includes following updates:

  1. sqrt (f32 and f64) intrinsics are lowered to their vector intrinsic counterparts; lowering them to massv entries is beyond the scope of this patch. Relevant tests for the sqrt intrinsics are added to massv-unsupported.ll
  2. The test files include comments to portray their intent.
May 16 2019, 7:12 AM · Restricted Project

May 7 2019

pjeeva01 updated the diff for D59881: Initial support for vectorization using MASSV (IBM MASS vector library).

Thank you for your comments @jsji
This patch includes following updates:

  • negative tests for math functions lacking vector counterparts, for altivec targets, and for nobuiltin attributes.
May 7 2019, 8:24 AM · Restricted Project

Apr 8 2019

pjeeva01 updated the diff for D59881: Initial support for vectorization using MASSV (IBM MASS vector library).

Updated the patch assuming a base that has D60211 incorporated.

Apr 8 2019, 12:40 PM · Restricted Project

Apr 5 2019

pjeeva01 added a comment to D59881: Initial support for vectorization using MASSV (IBM MASS vector library).

ping

Apr 5 2019, 12:24 PM · Restricted Project

Apr 4 2019

pjeeva01 updated the diff for D60211: NFC: Refactor library-specific mappings of scalar maths functions to their vector counterparts.

This updated patch uses a single macro to define the mapping from scalar maths functions to their vector counterparts ( as suggested in the earlier review of the original patch).

Apr 4 2019, 8:27 AM · Restricted Project

Apr 3 2019

pjeeva01 added inline comments to D60211: NFC: Refactor library-specific mappings of scalar maths functions to their vector counterparts.
Apr 3 2019, 12:38 PM · Restricted Project
pjeeva01 added reviewers for D60211: NFC: Refactor library-specific mappings of scalar maths functions to their vector counterparts: nemanjai, hfinkel.
Apr 3 2019, 11:53 AM · Restricted Project
pjeeva01 added inline comments to D59881: Initial support for vectorization using MASSV (IBM MASS vector library).
Apr 3 2019, 9:27 AM · Restricted Project
pjeeva01 created D60211: NFC: Refactor library-specific mappings of scalar maths functions to their vector counterparts.
Apr 3 2019, 9:24 AM · Restricted Project

Mar 29 2019

pjeeva01 added inline comments to D59881: Initial support for vectorization using MASSV (IBM MASS vector library).
Mar 29 2019, 6:32 AM · Restricted Project

Mar 27 2019

pjeeva01 created D59883: Lower generic MASSV entries to PowerPC subtarget-specific entries.
Mar 27 2019, 8:09 AM · Restricted Project
pjeeva01 created D59881: Initial support for vectorization using MASSV (IBM MASS vector library).
Mar 27 2019, 8:06 AM · Restricted Project

Nov 19 2018

pjeeva01 created D54708: [OPENMP] NFC: Refactor code for parsing omp declare target directive and its clauses.
Nov 19 2018, 9:15 AM · Restricted Project, Restricted Project