Page MenuHomePhabricator

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

karthiksenthil (Karthik Senthil)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 9 2018, 10:50 AM (268 w, 3 d)

Recent Activity

Nov 3 2022

karthiksenthil added a comment to D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..

Thanks for the reviews and approval! I don't have access to commit this change. @spatel can you commit this revision to llvm trunk?

Nov 3 2022, 5:01 PM · Restricted Project, Restricted Project
karthiksenthil updated the diff for D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..

Rebase to llvm trunk. No functional updates.

Nov 3 2022, 2:11 PM · Restricted Project, Restricted Project
karthiksenthil added a comment to D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..

I've added asserts in the latest diff to check that FMF.noNaNs() is set.

Thanks - should it also assert for noSignedZeros?

Nov 3 2022, 10:38 AM · Restricted Project, Restricted Project
karthiksenthil updated the diff for D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..
Nov 3 2022, 10:37 AM · Restricted Project, Restricted Project

Nov 2 2022

karthiksenthil added a comment to D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..

Should these be guarded with an FMF check?

The enum definition says:

FMin,       ///< FP min implemented in terms of select(cmp()).
FMax,       ///< FP max implemented in terms of select(cmp()).

So if we have a NaN input:
fmin(NaN, Inf) --> select (fcmp olt NaN, Inf), NaN, Inf --> Inf (so the NaN input did not survive)

Do you mean that identity value computation for FMin/FMax should be guarded with a FMF.noNaNs() check? What would be the identity value when the flag is absent?

Yes, I'm not sure what it means if we don't have FMF.noNaNs(). Is it possible to create this recurrence without that FMF? If not, can we assert that FMF.noNaNs() is set?

Nov 2 2022, 3:28 PM · Restricted Project, Restricted Project
karthiksenthil updated the diff for D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..
Nov 2 2022, 3:27 PM · Restricted Project, Restricted Project
karthiksenthil added a comment to D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..

Thanks for the reviews! I've addressed the comments below -

Nov 2 2022, 1:48 PM · Restricted Project, Restricted Project
karthiksenthil updated the diff for D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..
Nov 2 2022, 1:48 PM · Restricted Project, Restricted Project

Nov 1 2022

karthiksenthil requested review of D137220: [LV][IVDescriptors] Fix recurrence identity element for FMin and FMax reductions..
Nov 1 2022, 6:20 PM · Restricted Project, Restricted Project

Sep 17 2020

karthiksenthil added inline comments to D53035: [LV] Legalize SVML call instructions during vector code generation.
Sep 17 2020, 5:13 PM · Restricted Project, Restricted Project

Sep 3 2020

karthiksenthil updated the diff for D53035: [LV] Legalize SVML call instructions during vector code generation.

Diff has been rebased to latest version of LV.

Sep 3 2020, 10:24 AM · Restricted Project, Restricted Project

Aug 27 2020

karthiksenthil added a comment to D53035: [LV] Legalize SVML call instructions during vector code generation.

@ayermolo I plan to rebase this diff to latest version of LV and update this review in the next few days.

Aug 27 2020, 5:56 PM · Restricted Project, Restricted Project

Oct 9 2018

karthiksenthil added a comment to D53035: [LV] Legalize SVML call instructions during vector code generation.

Hi all,

Oct 9 2018, 12:11 PM · Restricted Project, Restricted Project
karthiksenthil created D53035: [LV] Legalize SVML call instructions during vector code generation.
Oct 9 2018, 12:05 PM · Restricted Project, Restricted Project