Page MenuHomePhabricator

ayzhao (Alan Zhao)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 23 2022, 9:51 AM (66 w, 3 d)

Recent Activity

Thu, Jun 1

ayzhao accepted D150122: [Clang] Fix status of P0960.

I guess we should land that now @erichkeane ?

Sorry, but there's actually one more crash that was just reported earlier this week: https://github.com/llvm/llvm-project/issues/63008. We should wait until the backport PR has been approved.

Thu, Jun 1, 5:02 PM · Restricted Project, Restricted Project
ayzhao added a comment to D150122: [Clang] Fix status of P0960.

I guess we should land that now @erichkeane ?

Thu, Jun 1, 2:54 PM · Restricted Project, Restricted Project

Wed, May 31

ayzhao committed rG1cf5188c7290: [clang] Fix crash when passing a braced-init list to a parentehsized aggregate… (authored by ayzhao).
[clang] Fix crash when passing a braced-init list to a parentehsized aggregate…
Wed, May 31, 1:53 PM · Restricted Project, Restricted Project
ayzhao closed D151763: [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression.
Wed, May 31, 1:52 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D151763: [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression.

rebasing, CI seems to be fixed now

Wed, May 31, 9:57 AM · Restricted Project, Restricted Project

Tue, May 30

ayzhao updated the diff for D151763: [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression.

rebase to see if this fixes CI

Tue, May 30, 5:46 PM · Restricted Project, Restricted Project
ayzhao updated subscribers of D151763: [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression.
Tue, May 30, 4:33 PM · Restricted Project, Restricted Project
ayzhao requested review of D151763: [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression.
Tue, May 30, 4:32 PM · Restricted Project, Restricted Project

Mon, May 22

ayzhao updated subscribers of D150122: [Clang] Fix status of P0960.

Status update on backports:

Mon, May 22, 9:40 AM · Restricted Project, Restricted Project

Fri, May 12

ayzhao added a reverting change for rGc13ed1cc7578: [X86][AsmParser] Refactor code and optimize more instructions from VEX3 to VEX2: rGd4994d0e7922: Revert "[X86][AsmParser] Refactor code and optimize more instructions from VEX3….
Fri, May 12, 4:11 PM · Restricted Project, Restricted Project
ayzhao committed rGd4994d0e7922: Revert "[X86][AsmParser] Refactor code and optimize more instructions from VEX3… (authored by ayzhao).
Revert "[X86][AsmParser] Refactor code and optimize more instructions from VEX3…
Fri, May 12, 4:11 PM · Restricted Project, Restricted Project
ayzhao added a comment to rGc13ed1cc7578: [X86][AsmParser] Refactor code and optimize more instructions from VEX3 to VEX2.

FYI this is causing ninja check-bolt to fail with the following error:

Fri, May 12, 4:07 PM · Restricted Project, Restricted Project
ayzhao accepted D150349: [asan][win][test] Disable interception_failure_test.cpp for static asan.

Thanks!

Fri, May 12, 1:37 PM · Restricted Project, Restricted Project

Wed, May 10

ayzhao added a comment to D149549: [compiler-rt][interception][win] Don't crash on unknown instructions.

We're starting to see build failures due to interception_failure_test.cpp unexpectedly passing on Windows: https://crbug.com/1443891

Wed, May 10, 3:18 PM · Restricted Project, Restricted Project
ayzhao added a comment to D42600: [CodeGen][Shrink-wrap]split restore point.

This is causing lld to crash on Chrome builds when PGO and ThinLTO are enabled: https://crbug.com/1443635

@ayzhao I request you to please provide me following information:

  1. Reproducer of the function causing the assert failure
Wed, May 10, 10:52 AM · Restricted Project, Restricted Project

Tue, May 9

ayzhao committed rGd1d35f04c6cb: [clang] Fix initializer_list matching failures with modules (authored by ayzhao).
[clang] Fix initializer_list matching failures with modules
Tue, May 9, 10:32 AM · Restricted Project, Restricted Project
ayzhao closed D150001: [clang] Fix initializer_list matching failures with modules.
Tue, May 9, 10:31 AM · Restricted Project, Restricted Project
ayzhao updated the diff for D150001: [clang] Fix initializer_list matching failures with modules.

rebase

Tue, May 9, 10:31 AM · Restricted Project, Restricted Project
ayzhao added a comment to D150122: [Clang] Fix status of P0960.

I believe we are having another release of Clang 16, but @tstellar can confirm or deny that.

AIUI, there were a few issues holding us back from claiming complete support (added @ayzhao as a reviewer in case he has a different opinion):
https://github.com/llvm/llvm-project/issues/61145 (backported to 16.x)
https://github.com/llvm/llvm-project/issues/62296 (backported to 16.x)
https://github.com/llvm/llvm-project/issues/62266 (not backported)
https://github.com/llvm/llvm-project/issues/61567 (not backported)

If we backport the two other issues to 16, then I think the changes in this review are fine. If we don't backport those two, I think we should claim Clang 17 to be conservative.

Tue, May 9, 10:25 AM · Restricted Project, Restricted Project

Mon, May 8

ayzhao committed rGf4999d3535af: Revert "[CodeGen][ShrinkWrap] Split restore point" (authored by ayzhao).
Revert "[CodeGen][ShrinkWrap] Split restore point"
Mon, May 8, 4:28 PM · Restricted Project, Restricted Project
ayzhao added a reverting change for rG1ddfd1c81867: [CodeGen][ShrinkWrap] Split restore point: rGf4999d3535af: Revert "[CodeGen][ShrinkWrap] Split restore point".
Mon, May 8, 4:28 PM · Restricted Project, Restricted Project
ayzhao added a reverting change for D42600: [CodeGen][Shrink-wrap]split restore point: rGf4999d3535af: Revert "[CodeGen][ShrinkWrap] Split restore point".
Mon, May 8, 4:28 PM · Restricted Project, Restricted Project
ayzhao added a comment to D42600: [CodeGen][Shrink-wrap]split restore point.

This is causing lld to crash on Chrome builds when PGO and ThinLTO are enabled: https://crbug.com/1443635

Mon, May 8, 4:14 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D150001: [clang] Fix initializer_list matching failures with modules.

add comment

Mon, May 8, 10:06 AM · Restricted Project, Restricted Project

Fri, May 5

ayzhao requested review of D150001: [clang] Fix initializer_list matching failures with modules.
Fri, May 5, 3:10 PM · Restricted Project, Restricted Project

May 3 2023

ayzhao updated subscribers of D149092: [libcxxabi] define _LIBCPP_VERBOSE_ABORT.
May 3 2023, 12:41 PM · Restricted Project, Restricted Project

May 1 2023

ayzhao committed rGf76279859917: Fix ReleaseNotes.rst unresolved merge conflict (authored by ayzhao).
Fix ReleaseNotes.rst unresolved merge conflict
May 1 2023, 10:26 AM · Restricted Project, Restricted Project
ayzhao committed rG9b4faa11c68b: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate… (authored by ayzhao).
[clang] Fix overly aggressive lifetime checks for parenthesized aggregate…
May 1 2023, 10:03 AM · Restricted Project, Restricted Project
ayzhao closed D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.
May 1 2023, 10:02 AM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

rebase + fix merge conflicts

May 1 2023, 10:01 AM · Restricted Project, Restricted Project
ayzhao committed rGda0089c99ba1: [clang] Fix default initializers being ignored when initializing templated… (authored by ayzhao).
[clang] Fix default initializers being ignored when initializing templated…
May 1 2023, 9:28 AM · Restricted Project, Restricted Project
ayzhao closed D149389: [clang] Fix default initializers being ignored when initializing templated aggregate types.
May 1 2023, 9:28 AM · Restricted Project, Restricted Project

Apr 28 2023

ayzhao added a comment to D149389: [clang] Fix default initializers being ignored when initializing templated aggregate types.

So the change makes sense but the original issue: https://github.com/llvm/llvm-project/issues/62266 it worked for the first once but not the second, it also worked for the non-paren aggregate init. So I feel like the explanation is missing some details.

Apr 28 2023, 2:30 PM · Restricted Project, Restricted Project
ayzhao updated the summary of D149389: [clang] Fix default initializers being ignored when initializing templated aggregate types.
Apr 28 2023, 2:22 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D149389: [clang] Fix default initializers being ignored when initializing templated aggregate types.

rebase + add release notes

Apr 28 2023, 2:19 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

add release note

Apr 28 2023, 1:53 PM · Restricted Project, Restricted Project

Apr 27 2023

ayzhao added a reviewer for D149389: [clang] Fix default initializers being ignored when initializing templated aggregate types: shafik.
Apr 27 2023, 3:40 PM · Restricted Project, Restricted Project
ayzhao requested review of D149389: [clang] Fix default initializers being ignored when initializing templated aggregate types.
Apr 27 2023, 3:40 PM · Restricted Project, Restricted Project
ayzhao added a reviewer for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization: shafik.
Apr 27 2023, 1:42 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

code review comments + pull in D149301

Apr 27 2023, 1:42 PM · Restricted Project, Restricted Project
ayzhao committed rG3e22eb36b6ff: Fix spacing in ReleaseNotes.rst link (authored by ayzhao).
Fix spacing in ReleaseNotes.rst link
Apr 27 2023, 11:42 AM · Restricted Project, Restricted Project
ayzhao committed rG7417e9d75c9a: [clang] Fix a crash with parenthesized aggregate initialization and base classes (authored by ayzhao).
[clang] Fix a crash with parenthesized aggregate initialization and base classes
Apr 27 2023, 10:44 AM · Restricted Project, Restricted Project
ayzhao closed D149301: [clang] Fix a crash with parenthesized aggregate initialization and base classes.
Apr 27 2023, 10:43 AM · Restricted Project, Restricted Project
ayzhao added a comment to D149301: [clang] Fix a crash with parenthesized aggregate initialization and base classes.

I think you should add a release note for this when landing,

Apr 27 2023, 10:43 AM · Restricted Project, Restricted Project
ayzhao updated the diff for D149301: [clang] Fix a crash with parenthesized aggregate initialization and base classes.

add release note

Apr 27 2023, 10:43 AM · Restricted Project, Restricted Project

Apr 26 2023

ayzhao added a reviewer for D149301: [clang] Fix a crash with parenthesized aggregate initialization and base classes: aaron.ballman.
Apr 26 2023, 3:11 PM · Restricted Project, Restricted Project
ayzhao requested review of D149301: [clang] Fix a crash with parenthesized aggregate initialization and base classes.
Apr 26 2023, 3:10 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

add another test

Apr 26 2023, 11:20 AM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

add another test and fix whitespace

Apr 26 2023, 11:19 AM · Restricted Project, Restricted Project
ayzhao added inline comments to D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.
Apr 26 2023, 11:13 AM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

code review comments + rebase

Apr 26 2023, 11:13 AM · Restricted Project, Restricted Project

Apr 20 2023

ayzhao accepted D148861: [Demangle] fix another test on windows.

LGTM, confirmed this fixes the remaining broken tests on Windows:

Apr 20 2023, 5:15 PM · Restricted Project, Restricted Project
ayzhao accepted D148852: [Demangle] fix windows tests.

LGTM, all the failing tests seem to be passing on my Windows workstation.

Apr 20 2023, 3:57 PM · Restricted Project, Restricted Project
ayzhao accepted D148546: Reland: [Demangle] replace use of llvm::StringView w/ std::string_view.

LGTM, looks like this builds on Windows now:

Apr 20 2023, 11:04 AM · Restricted Project, Restricted Project, Restricted Project
ayzhao added a comment to D148546: Reland: [Demangle] replace use of llvm::StringView w/ std::string_view.

A new conversion issue popped up:

Apr 20 2023, 10:49 AM · Restricted Project, Restricted Project, Restricted Project
ayzhao requested changes to D148546: Reland: [Demangle] replace use of llvm::StringView w/ std::string_view.

This still fails to build on Windows with MSVC's cl.exe compiler:

Apr 20 2023, 10:34 AM · Restricted Project, Restricted Project, Restricted Project

Apr 17 2023

ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

code review comments + rebase

Apr 17 2023, 2:51 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

remove unrelated formatting changes

Apr 17 2023, 1:39 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

rebase

Apr 17 2023, 10:11 AM · Restricted Project, Restricted Project

Apr 14 2023

ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

fix comments

Apr 14 2023, 4:59 PM · Restricted Project, Restricted Project
ayzhao added inline comments to D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.
Apr 14 2023, 4:43 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

Address code review comments and (try) to fix Windows bot failure

Apr 14 2023, 4:42 PM · Restricted Project, Restricted Project

Apr 13 2023

ayzhao added a reviewer for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization: rsmith.
Apr 13 2023, 3:44 PM · Restricted Project, Restricted Project
ayzhao added inline comments to D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.
Apr 13 2023, 3:44 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.

fix missing EOF newline

Apr 13 2023, 3:43 PM · Restricted Project, Restricted Project
ayzhao requested review of D148274: [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization.
Apr 13 2023, 3:38 PM · Restricted Project, Restricted Project

Apr 11 2023

ayzhao updated subscribers of D137707: Move "auto-init" instructions to the dominator of their users.
Apr 11 2023, 4:26 PM · Restricted Project, Restricted Project
ayzhao added a comment to D137707: Move "auto-init" instructions to the dominator of their users.

This is also causing another regression in Chrome that is *not* fixed by rGad9ad3735c48: https://crbug.com/1431366#c3

Can you provide a minimal reproducer?

Currently working on it, but I'd like to point out that this is also causing another (unrelated?) failure in Chrome/V8: https://crbug.com/1431489

Apr 11 2023, 3:20 PM · Restricted Project, Restricted Project

Apr 10 2023

ayzhao added a comment to D137707: Move "auto-init" instructions to the dominator of their users.

This is also causing another regression in Chrome that is *not* fixed by rGad9ad3735c48: https://crbug.com/1431366#c3

Can you provide a minimal reproducer?

Apr 10 2023, 3:36 PM · Restricted Project, Restricted Project

Apr 8 2023

ayzhao added a comment to D137707: Move "auto-init" instructions to the dominator of their users.

This is also causing another regression in Chrome that is *not* fixed by rGad9ad3735c48: https://crbug.com/1431366#c3

Apr 8 2023, 9:50 AM · Restricted Project, Restricted Project

Apr 4 2023

ayzhao added a comment to D137707: Move "auto-init" instructions to the dominator of their users.

Hi. I think the reland broke our mac builder at https://ci.chromium.org/ui/p/fuchsia/builders/ci/clang_toolchain.ci.core.x64-host_test_only-mac-subbuild/b8784753709492580801/overview with:

Assertion failed: (!I.isVolatile() && "auto init instructions cannot be volatile."), function runMoveAutoInit, file llvm/lib/Transforms/Utils/MoveAutoInit.cpp, line 112.

Thanks for reporting—I thought this situation wasn't possible— I'll send a fix that just skips these instructions for now.

Apr 4 2023, 3:43 PM · Restricted Project, Restricted Project

Mar 30 2023

ayzhao committed rG7df3c71b508b: [clang] Fix 2 bugs with parenthesized aggregate initialization (authored by ayzhao).
[clang] Fix 2 bugs with parenthesized aggregate initialization
Mar 30 2023, 3:07 PM · Restricted Project, Restricted Project
ayzhao closed D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.
Mar 30 2023, 3:06 PM · Restricted Project, Restricted Project

Mar 28 2023

ayzhao updated the diff for D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.

fix stray whitespace change

Mar 28 2023, 3:41 PM · Restricted Project, Restricted Project
ayzhao added inline comments to D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.
Mar 28 2023, 3:40 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.

use ParenListExpr and fix getSubExprAsWritten(...)

Mar 28 2023, 3:38 PM · Restricted Project, Restricted Project

Mar 24 2023

ayzhao added a comment to D146675: [libc++] Warn on including headers that are deprecated in C++17.

I have not looked closely at the patch, can you please add the paper number in the summary and update the status page
libcxx/doc/Status? That makes reviewing the changes a lot easier.

Mar 24 2023, 10:37 AM · Restricted Project, Restricted Project

Mar 23 2023

ayzhao added a comment to D146675: [libc++] Warn on including headers that are deprecated in C++17.

Ms stl uses this construction to make the warning grouped under -Wdeprecated-declarations: https://github.com/search?q=repo%3Amicrosoft%2FSTL%20_CXX17_DEPRECATE_C_HEADER&type=code

Many worth doing?

Mar 23 2023, 10:28 AM · Restricted Project, Restricted Project
ayzhao updated the diff for D146675: [libc++] Warn on including headers that are deprecated in C++17.

code review comments

Mar 23 2023, 10:28 AM · Restricted Project, Restricted Project

Mar 22 2023

ayzhao updated the diff for D146675: [libc++] Warn on including headers that are deprecated in C++17.

remove quotes from warning message

Mar 22 2023, 5:41 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D146675: [libc++] Warn on including headers that are deprecated in C++17.

update warning message per review comments

Mar 22 2023, 5:32 PM · Restricted Project, Restricted Project
ayzhao retitled D146675: [libc++] Warn on including headers that are deprecated in C++17 from [libc++] Warn on including headers deprecated in C++17 to [libc++] Warn on including headers that are deprecated in C++17.
Mar 22 2023, 5:16 PM · Restricted Project, Restricted Project
ayzhao requested review of D146675: [libc++] Warn on including headers that are deprecated in C++17.
Mar 22 2023, 5:13 PM · Restricted Project, Restricted Project

Mar 20 2023

ayzhao added inline comments to D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.
Mar 20 2023, 6:34 PM · Restricted Project, Restricted Project
ayzhao abandoned D145017: [libc++][libc++abi] Make libc++ includes more compatible with its own modulemap.

Abandoning this revision as right now we're working on

Mar 20 2023, 4:08 PM · Restricted Project, Restricted Project, Restricted Project
ayzhao updated the diff for D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.

remove extra semicolon

Mar 20 2023, 3:26 PM · Restricted Project, Restricted Project
ayzhao updated the diff for D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.

clean up test

Mar 20 2023, 3:22 PM · Restricted Project, Restricted Project
ayzhao requested review of D146465: [clang] Fix 2 bugs with parenthesized aggregate initialization.
Mar 20 2023, 3:20 PM · Restricted Project, Restricted Project

Mar 9 2023

ayzhao added a comment to D141188: [MergeICmps] Adapt to non-eq comparisons.

I'm continuing to see the same unit test failure as https://crbug.com/1420824#c2 after including the latest commit

Mar 9 2023, 2:36 PM · Restricted Project, Restricted Project

Mar 8 2023

ayzhao added a comment to D141188: [MergeICmps] Adapt to non-eq comparisons.

I tested the updated version of this patch to see if it fixes the Chrome test failures. Unfortunately, Clang now crashes when compiling an unrelated file in Chrome:

Mar 8 2023, 2:38 PM · Restricted Project, Restricted Project

Mar 6 2023

ayzhao added a comment to D136765: [ASan][libcxx] Annotating std::vector with all allocators.

FYI this is causing (yet another) bug on Chrome/Chrome OS: https://crbug.com/1422033

Mar 6 2023, 5:34 PM · Restricted Project, Restricted Project, Restricted Project

Mar 2 2023

ayzhao added inline comments to D145017: [libc++][libc++abi] Make libc++ includes more compatible with its own modulemap.
Mar 2 2023, 4:53 PM · Restricted Project, Restricted Project, Restricted Project
ayzhao added a comment to D141188: [MergeICmps] Adapt to non-eq comparisons.

FYI this patch also caused some of Chrome's unit tests to fail - see https://crbug.com/1420824

Mar 2 2023, 3:19 PM · Restricted Project, Restricted Project

Mar 1 2023

ayzhao added inline comments to D145017: [libc++][libc++abi] Make libc++ includes more compatible with its own modulemap.
Mar 1 2023, 4:51 PM · Restricted Project, Restricted Project, Restricted Project

Feb 28 2023

ayzhao updated the diff for D145017: [libc++][libc++abi] Make libc++ includes more compatible with its own modulemap.

fix up the history a little bit so (hopefully) git will recognize the rename

Feb 28 2023, 4:02 PM · Restricted Project, Restricted Project, Restricted Project
ayzhao added a reviewer for D145017: [libc++][libc++abi] Make libc++ includes more compatible with its own modulemap: ldionne.
Feb 28 2023, 3:47 PM · Restricted Project, Restricted Project, Restricted Project
ayzhao requested review of D145017: [libc++][libc++abi] Make libc++ includes more compatible with its own modulemap.
Feb 28 2023, 3:45 PM · Restricted Project, Restricted Project, Restricted Project

Feb 2 2023

ayzhao added inline comments to D140184: Fix crash with lambda and variadic template.
Feb 2 2023, 5:04 PM · Restricted Project

Jan 19 2023

ayzhao added a comment to D139837: [Clang] Implements CTAD for aggregates P1816R0 and P2082R1.

Thanks for your effort on this!

Jan 19 2023, 3:22 PM · Restricted Project, Restricted Project

Jan 12 2023

ayzhao committed rG95a4c0c83554: [clang] Reland parenthesized aggregate init patches (authored by ayzhao).
[clang] Reland parenthesized aggregate init patches
Jan 12 2023, 9:58 AM · Restricted Project, Restricted Project