Page MenuHomePhabricator

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

codemzs (M. Zeeshan Siddiqui)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 18 2022, 8:11 PM (88 w, 5 d)

Software Engineer (compilers) @ Microsoft AI Platform.
https://www.linkedin.com/in/mzsprofile/

Recent Activity

Aug 1 2023

codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

@tahonermann I would like to understand your concern better on unordered floating point types as the callers of getFloatingTypeOrder handle this result as per the C++23 proposal, for example there is a test case that exercises this scenario: _Float16 f16_val_1 = 1.0bf16; // expected-error {{cannot initialize a variable of type '_Float16' with an rvalue of type '__bf16'}}

Aug 1 2023, 9:45 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Updated with feedback from @tahonermann

Aug 1 2023, 9:45 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jun 13 2023

codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

@tahonermann Gentle ping, please let me know if you have any questions.

Jun 13 2023, 9:38 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jun 6 2023

codemzs added inline comments to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.
Jun 6 2023, 11:12 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Thank you for your insights on the patch. I concur with your perspective about the potential brittleness of comparison operations on the FloatingRankCompareResult enum type. As a remedy, I have incorporated a helper routine to handle such operations.

Jun 6 2023, 11:10 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jun 5 2023

codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

This all LGTM, but I want @tahonermann to do a pass as well, he knows more about FP than I do, so I don't want to accept without his run-through.

Jun 5 2023, 9:57 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jun 4 2023

codemzs added a reviewer for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names: rjmccall.
Jun 4 2023, 11:30 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs removed a reviewer for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names: asmith.
Jun 4 2023, 11:30 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a reviewer for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names: aaron.ballman.
Jun 4 2023, 10:44 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jun 2 2023

codemzs updated subscribers of D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

This is going to be a very unhelpful comment. After looking through the changes, I don't have any comments to make, but I also don't feel comfortable to accept this revision as I don't feel to know enough about the front-end.

@stuij, I sincerely appreciate you taking the time to review the changes. Your hesitation due to unfamiliarity with the front-end elements is completely understandable, and I respect your candid feedback.

@erichkeane, given your extensive contributions to the core Sema* files, I believe your expertise and experience would be particularly valuable in reviewing the changes I've made. I recall your initial informal approval for the change, and since then, I've further refined it after incorporating the outcomes of D150913. I'd be most appreciative if you could please review this revision once again.

My intention is to ensure this revision aligns with our shared vision for LLVM/Clang, and your reviews will greatly contribute to this goal. If there are any other changes or improvements required for the successful landing of this revision, please feel free to let me know.

I'll put you on my list to re-review for early next week, though Aaron probably needs to do a look through this as well.

Jun 2 2023, 9:33 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

This is going to be a very unhelpful comment. After looking through the changes, I don't have any comments to make, but I also don't feel comfortable to accept this revision as I don't feel to know enough about the front-end.

Jun 2 2023, 8:01 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 29 2023

codemzs abandoned D117637: Fix build break on CentOS due to gcc 7.3.1.
May 29 2023, 11:49 PM · Restricted Project, Restricted Project
codemzs abandoned D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

Closing this as it has been resolved by D150913.

May 29 2023, 11:48 PM · Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Remove unused header file.

May 29 2023, 11:45 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

This change has been simplified and rebased onto D150913, which is now in LLVM main. I hope this makes the review process more straightforward.

May 29 2023, 11:34 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 27 2023

codemzs updated the diff for D151610: [Docs] Fix Sphinx documentation formatting issues in LanguageExtensions.rst.

Fix indentation and spacing.

May 27 2023, 12:24 AM · Restricted Project, Restricted Project

May 26 2023

codemzs requested review of D151610: [Docs] Fix Sphinx documentation formatting issues in LanguageExtensions.rst.
May 26 2023, 11:14 PM · Restricted Project, Restricted Project
codemzs added a comment to D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

Thank you for your valuable review and acceptance of my patch. As I lack commit access, could I kindly request one of you to perform the commit on my behalf? Please use the following command: git commit --amend --author="M. Zeeshan Siddiqui <mzs@microsoft.com>".

May 26 2023, 10:16 AM · Restricted Project, Restricted Project
codemzs updated the diff for D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

Addresses @rjmccall suggestions.

May 26 2023, 8:20 AM · Restricted Project, Restricted Project

May 25 2023

codemzs updated the diff for D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

Addresses feedback on extended floating type documentation from @rjmccall and @pengfei

May 25 2023, 7:52 PM · Restricted Project, Restricted Project
codemzs added inline comments to D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..
May 25 2023, 11:15 AM · Restricted Project, Restricted Project

May 24 2023

codemzs updated the diff for D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

Incorporates suggestions provided by @rjmccall, @pengfei, and @zahiraam.

May 24 2023, 12:37 PM · Restricted Project, Restricted Project

May 22 2023

codemzs added inline comments to D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..
May 22 2023, 1:48 PM · Restricted Project, Restricted Project
codemzs updated the diff for D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

@pengfei, @zahiraam, I appreciate your feedback.

May 22 2023, 1:46 PM · Restricted Project, Restricted Project

May 19 2023

codemzs added a comment to D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

I believe I had updated the __bf16 documentation in /llvm-project/clang/docs/LanguageExtensions.rst, but it appears to have been omitted in this patch. I assure you, I'll rectify this in the next iteration.

May 19 2023, 12:19 PM · Restricted Project, Restricted Project

May 18 2023

codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

I have created a separate change to upgrade existing __bf16 to arithmetic type at D150913

May 18 2023, 3:35 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..

Misc style improvement.

May 18 2023, 3:33 PM · Restricted Project, Restricted Project
codemzs requested review of D150913: [Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling, and extend excess precision support..
May 18 2023, 3:27 PM · Restricted Project, Restricted Project

May 17 2023

codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Addresses code style feedback from @tahonermann

May 17 2023, 12:29 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 15 2023

codemzs updated the summary of D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.
May 15 2023, 12:42 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Following the RFC discussion, __bf16 has been adapted to function as an arithmetic type where hardware natively supports bfloat16 arithmetic. @stuij, as you initially introduced __bf16 as a storage-type, your review on this adjustment would be greatly appreciated.

May 15 2023, 12:41 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 12 2023

codemzs added a comment to D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

I do wonder if we need two bfloat implementations, but for that I'll leave a comment on D149573.

Given the discussions occurring in D149573, let's hold off on landing this for now. It is sounding like we might have direction for repurposing __bf16 for std::bfloat16_t (and a future _BFloat16 C type; with __bf16 retained as an alternate spelling). If we go in that direction, then we would presumably want a change that goes in the opposite direction of this patch; a change that migrates "bf16" names towards "bfloat16". Let's focus on confirming that direction first. I'll mark this as requesting changes for now while we figure this out.

May 12 2023, 11:42 AM · Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

I made a comment on the RFC to understand if we really need/want a new bfloat16 type.

May 12 2023, 9:35 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 11 2023

codemzs added a comment to D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

Thanks for all the updates @codemzs! I'm going to go ahead and accept. But please wait a few days for recently subscribed folks to have a chance to comment before landing this.

May 11 2023, 10:26 AM · Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

Addressing feedback from @barannikov88

May 11 2023, 10:23 AM · Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

The summary as it is will be hard to read in git log. Please split it into multiple lines 72~80 chars each.
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

May 11 2023, 10:10 AM · Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

Update comments as per feedback from @tahonermann

May 11 2023, 9:45 AM · Restricted Project, Restricted Project, Restricted Project

May 10 2023

codemzs added a comment to D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

@tahonermann Thank you for pointing that out and for reviewing my code. I appreciate your guidance. I was following the LLVM contribution guidelines to use git clang-format, but I understand the importance of maintaining existing code styles that may be altered by git-clang format. I will be more mindful of this in the future. I have reverted the style changes and updated the patch as per your feedback.

May 10 2023, 4:55 PM · Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.

PR feedback: Revert style changes.

May 10 2023, 4:54 PM · Restricted Project, Restricted Project, Restricted Project
codemzs updated the summary of D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.
May 10 2023, 1:13 PM · Restricted Project, Restricted Project, Restricted Project
codemzs updated the summary of D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.
May 10 2023, 1:10 PM · Restricted Project, Restricted Project, Restricted Project
codemzs requested review of D150291: [Clang] Rename internal type identifier(s) for __bf16 to BF16Ty.
May 10 2023, 12:56 PM · Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

I reviewed about a third of this, but then stopped due to the __bf16 vs std::bfloat16_t naming issues. I think the existing names that use "bfloat16" to support the __bf16 type should be renamed, in a separate patch, and this patch rebased on top of it. We are sure to make mistakes if this confusing situation is not resolved.

May 10 2023, 10:36 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 9 2023

codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Hi @rjmccall and @erichkeane,

May 9 2023, 4:11 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.
May 9 2023, 4:09 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added inline comments to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.
May 9 2023, 1:52 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 8 2023

codemzs updated codemzs.
May 8 2023, 8:46 AM

May 5 2023

codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Rebase to the latest from upstream as LangOpt flag for C++23 has been updated to C++23 (instead of C++2b).

May 5 2023, 6:18 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 3 2023

codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Thank you @erichkeane for your insightful review. I have addressed the feedback from your previous review.

May 3 2023, 9:39 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Addressing @erichkeane 's code review feedback.

May 3 2023, 9:37 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 2 2023

codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Addressing @erichkeane 's code review comments.

May 2 2023, 11:46 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Addressing @erichkeane 's review comments and pushing out the updated patch.

May 2 2023, 11:45 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

May 1 2023

codemzs updated codemzs.
May 1 2023, 8:42 PM
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

My change to libcxxabi/test/test_demangle.pass.cpp (last file in the change) is only one line i.e {"_ZNK5clang4Type16isArithmeticTypeERNS_10ASTContextE", "clang::Type::isArithmeticType(clang::ASTContext&) const"}, but running clang-format on it changes bunch of lines.

Please don't clang-format the test then. There is no need to do it, and the changes look rather confusing. I don't really understand why you add it at all TBH. This doesn't look like it tests anything from this patch.

May 1 2023, 4:12 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Revert the changes to /llvm-project/libcxxabi/test/test_demangle.pass.cpp. Updating the function prototype for clang::Type::isArithmeticType() const causes clang-format issues and leads to numerous unnecessary line changes. As this specific test file isn't crucial for testing the current patch, it's acceptable to leave it unchanged.

May 1 2023, 4:08 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

My change to libcxxabi/test/test_demangle.pass.cpp (last file in the change) is only one line i.e {"_ZNK5clang4Type16isArithmeticTypeERNS_10ASTContextE", "clang::Type::isArithmeticType(clang::ASTContext&) const"}, but running clang-format on it changes bunch of lines.

May 1 2023, 9:27 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Fix Clang format failures.

May 1 2023, 9:18 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs set the repository for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names to rG LLVM Github Monorepo.
May 1 2023, 8:45 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs updated the diff for D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

Updated test_demangle.pass.cpp with mangled name for clang::Type::isArithmeticType(clang::ASTContext&) const, didn't catch this while testing locally using cmake check-all.

May 1 2023, 7:12 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added inline comments to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.
May 1 2023, 6:55 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.

I don't believe that there is NativeBFloat16Type. AArch64 learned bf16 with ARMv8.6-A, but very limited operations and only in SIMD. X86 supports bf16 since Cooperlake, but very limited operations and only in SIMD.

Maybe GPUs?

May 1 2023, 12:27 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Apr 30 2023

codemzs requested review of D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names.
Apr 30 2023, 11:41 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Mar 14 2022

codemzs added a comment to rG0d5e27623a69: Reland "[lld-macho] Avoid using bump-alloc in TrieBuider"".

On a second thought, it seems you have another change where you are actually fixing the bump allocator so why not check that in instead of this band-aid fix?

Mar 14 2022, 5:03 PM · Restricted Project
codemzs added a comment to rG0d5e27623a69: Reland "[lld-macho] Avoid using bump-alloc in TrieBuider"".

Will be nice to add some comments why you are relanding and why this won't cause build breaks again.

Mar 14 2022, 5:01 PM · Restricted Project
codemzs added a comment to D121638: [lld-macho] Avoid using bump-alloc in TrieBuider.
Mar 14 2022, 3:32 PM · Restricted Project, Restricted Project, Restricted Project
codemzs added a comment to D121638: [lld-macho] Avoid using bump-alloc in TrieBuider.

This change has broken windows builds:

Mar 14 2022, 3:19 PM · Restricted Project, Restricted Project, Restricted Project

Jan 19 2022

codemzs added a comment to D117637: Fix build break on CentOS due to gcc 7.3.1.

I needed to dust off my old-deps build for another patch, so I also fixed this in the process.

Jan 19 2022, 8:08 AM · Restricted Project, Restricted Project
codemzs added a comment to D117637: Fix build break on CentOS due to gcc 7.3.1.
Jan 19 2022, 8:07 AM · Restricted Project, Restricted Project

Jan 18 2022

codemzs requested review of D117637: Fix build break on CentOS due to gcc 7.3.1.
Jan 18 2022, 9:20 PM · Restricted Project, Restricted Project