Page MenuHomePhabricator

shchenz (ChenZheng)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 28 2018, 9:57 PM (247 w, 4 d)

Recent Activity

Wed, Mar 22

shchenz added inline comments to D144356: [XCOFF] support the ref directive for object generation..
Wed, Mar 22, 10:12 PM · Restricted Project, Restricted Project

Tue, Mar 21

shchenz accepted D144356: [XCOFF] support the ref directive for object generation..

Looks good to me except one nit.

Tue, Mar 21, 7:33 PM · Restricted Project, Restricted Project
shchenz accepted D146500: [PowerPC][NFC] add const-nonsplat-array-init.ll.
Tue, Mar 21, 6:30 PM · Restricted Project, Restricted Project

Thu, Mar 16

shchenz added inline comments to D144356: [XCOFF] support the ref directive for object generation..
Thu, Mar 16, 7:33 PM · Restricted Project, Restricted Project

Wed, Mar 15

shchenz added inline comments to D144356: [XCOFF] support the ref directive for object generation..
Wed, Mar 15, 8:01 PM · Restricted Project, Restricted Project
shchenz accepted D146071: [AIX] unset bit "IsBackChainStored" of traceback table for leaf functions with no stack frame.

LGTM. Thanks for improving this.

Wed, Mar 15, 5:47 PM · Restricted Project, Restricted Project
shchenz edited reviewers for D146071: [AIX] unset bit "IsBackChainStored" of traceback table for leaf functions with no stack frame, added: shchenz; removed: cezheng.
Wed, Mar 15, 5:47 PM · Restricted Project, Restricted Project
shchenz added a comment to D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.

Hi @arsenm , I created a github issue for the crashes this patch hits, would you please help to have a look? https://github.com/llvm/llvm-project/issues/61430. Thanks!

Wed, Mar 15, 2:11 AM · Restricted Project, Restricted Project
shchenz added a comment to D146071: [AIX] unset bit "IsBackChainStored" of traceback table for leaf functions with no stack frame.

We should already have case for leaf/non-leaf functions. Can we also add cases on the boundary conditions for redzone with below MIR?

---
name:            test
tracksRegLiveness: true
stack:
  - { id: 0, size: 288, alignment: 16 }
body: |
  bb.0:
    BLR8 implicit $lr8, implicit $rm
...
Wed, Mar 15, 12:35 AM · Restricted Project, Restricted Project

Tue, Mar 14

shchenz added a comment to D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.

@arsenm Hi Matt, thanks for confirmation for the direction. I will continue to fix all the LIT failures and the crashes in the AMDGPU LIT cases.

Tue, Mar 14, 11:13 PM · Restricted Project, Restricted Project
shchenz added inline comments to D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.
Tue, Mar 14, 1:12 AM · Restricted Project, Restricted Project
shchenz updated the diff for D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.

fix the table-gen tests

Tue, Mar 14, 1:02 AM · Restricted Project, Restricted Project

Mon, Mar 13

shchenz committed rGa81ba80eb00e: add testcases for D145353; NFC (authored by shchenz).
add testcases for D145353; NFC
Mon, Mar 13, 6:38 PM · Restricted Project, Restricted Project
shchenz committed rGa3b57bca97c0: [PowerPC] remove side effect for some cases for saturate instructions (authored by shchenz).
[PowerPC] remove side effect for some cases for saturate instructions
Mon, Mar 13, 6:38 PM · Restricted Project, Restricted Project
shchenz closed D145353: [PowerPC] remove side effect for some cases for saturate instructions.
Mon, Mar 13, 6:38 PM · Restricted Project, Restricted Project
shchenz added inline comments to D145353: [PowerPC] remove side effect for some cases for saturate instructions.
Mon, Mar 13, 6:21 PM · Restricted Project, Restricted Project

Sun, Mar 12

shchenz added a comment to D145353: [PowerPC] remove side effect for some cases for saturate instructions.

gentle ping @nemanjai . Do you have further comments? Thank you!

Sun, Mar 12, 7:17 PM · Restricted Project, Restricted Project
shchenz committed rG4f0ed16a46c5: Reland rGf35a09daebd0a90daa536432e62a2476f708150d and… (authored by shchenz).
Reland rGf35a09daebd0a90daa536432e62a2476f708150d and…
Sun, Mar 12, 7:12 PM · Restricted Project, Restricted Project
shchenz closed D138899: [DAGCombiner] handle more store value forwarding.
Sun, Mar 12, 7:12 PM · Restricted Project, Restricted Project
shchenz added a comment to D138899: [DAGCombiner] handle more store value forwarding.

I have been waiting for some days for D144711 for potential issues. Since no issues reported, I will reland this patch.

Sun, Mar 12, 7:05 PM · Restricted Project, Restricted Project

Thu, Mar 9

shchenz added a comment to D143467: [PowerPC] Add target feature requirement to builtins.

I think this is a good direction. For example we can avoid the crash in https://github.com/llvm/llvm-project/issues/60959 and give a clear diagnostic message.

Thu, Mar 9, 1:17 AM · Restricted Project, Restricted Project

Wed, Mar 8

shchenz added inline comments to D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.
Wed, Mar 8, 4:30 AM · Restricted Project, Restricted Project
shchenz updated the diff for D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.

add a new case GlobalISelEmitter-notypeoperand.ll

Wed, Mar 8, 4:29 AM · Restricted Project, Restricted Project

Tue, Mar 7

shchenz accepted D145350: [PowerPC] Check if the latch block is in the value list for the PHI before get the incoming value..

LGTM. Thank you for the fix!

Tue, Mar 7, 5:33 PM · Restricted Project, Restricted Project
shchenz committed rGa8c630ea5b79: [DAGCombiner] add testcase for issue #60744; NFC (authored by shchenz).
[DAGCombiner] add testcase for issue #60744; NFC
Tue, Mar 7, 5:32 PM · Restricted Project, Restricted Project
shchenz committed rGfc26ab36a20a: [DAGCombiner] don't use the pointer info for widen store (authored by shchenz).
[DAGCombiner] don't use the pointer info for widen store
Tue, Mar 7, 5:32 PM · Restricted Project, Restricted Project
shchenz closed D144711: [DAGCombiner] don't reuse the pointer info for merged store.
Tue, Mar 7, 5:32 PM · Restricted Project, Restricted Project
shchenz added inline comments to D144356: [XCOFF] support the ref directive for object generation..
Tue, Mar 7, 4:55 PM · Restricted Project, Restricted Project
shchenz added inline comments to D144711: [DAGCombiner] don't reuse the pointer info for merged store.
Tue, Mar 7, 3:19 AM · Restricted Project, Restricted Project
shchenz updated the diff for D144711: [DAGCombiner] don't reuse the pointer info for merged store.

address @foad comments

Tue, Mar 7, 3:19 AM · Restricted Project, Restricted Project

Mon, Mar 6

shchenz updated the diff for D145353: [PowerPC] remove side effect for some cases for saturate instructions.

address @nemanjai comments

Mon, Mar 6, 6:32 PM · Restricted Project, Restricted Project
shchenz added a comment to D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.

gentle ping.
We really want this to move forward on PPC. More patterns on PPC tds are without MVTs or register classes. Thank you!

Mon, Mar 6, 2:48 AM · Restricted Project, Restricted Project
shchenz added inline comments to D145350: [PowerPC] Check if the latch block is in the value list for the PHI before get the incoming value..
Mon, Mar 6, 2:37 AM · Restricted Project, Restricted Project

Sun, Mar 5

shchenz requested review of D145353: [PowerPC] remove side effect for some cases for saturate instructions.
Sun, Mar 5, 10:29 PM · Restricted Project, Restricted Project
shchenz added a comment to D144711: [DAGCombiner] don't reuse the pointer info for merged store.

gentle ping

Sun, Mar 5, 4:57 PM · Restricted Project, Restricted Project

Fri, Mar 3

shchenz added inline comments to D143977: [RFC][GlobalISel] Allow match against iPTR operand in leaf node.
Fri, Mar 3, 1:26 AM · Restricted Project, Restricted Project

Wed, Mar 1

shchenz accepted D145028: [PowerPC][NFC] cleanup isEligibleForTCO.

LGTM. Thanks!

Wed, Mar 1, 4:46 AM · Restricted Project, Restricted Project

Tue, Feb 28

shchenz added inline comments to D144711: [DAGCombiner] don't reuse the pointer info for merged store.
Tue, Feb 28, 3:19 AM · Restricted Project, Restricted Project
shchenz updated the diff for D144711: [DAGCombiner] don't reuse the pointer info for merged store.

use getUnderlyingObject()

Tue, Feb 28, 3:19 AM · Restricted Project, Restricted Project
shchenz updated the diff for D144711: [DAGCombiner] don't reuse the pointer info for merged store.

remove the unnecessary parameter.

Tue, Feb 28, 2:37 AM · Restricted Project, Restricted Project

Mon, Feb 27

shchenz accepted D140369: [PowerPC] update PPCTTIImpl::supportsTailCallFor() check conditions.

LGTM with one nit.

Mon, Feb 27, 6:55 PM · Restricted Project, Restricted Project
shchenz updated the diff for D144711: [DAGCombiner] don't reuse the pointer info for merged store.

address @foad comments

Mon, Feb 27, 6:24 PM · Restricted Project, Restricted Project

Sun, Feb 26

shchenz added inline comments to D140369: [PowerPC] update PPCTTIImpl::supportsTailCallFor() check conditions.
Sun, Feb 26, 9:29 PM · Restricted Project, Restricted Project
shchenz updated the diff for D144711: [DAGCombiner] don't reuse the pointer info for merged store.

still reuse the first store pointer info for cases where narrow stores all point to the same underlying object

Sun, Feb 26, 7:44 PM · Restricted Project, Restricted Project

Feb 24 2023

shchenz requested review of D144711: [DAGCombiner] don't reuse the pointer info for merged store.
Feb 24 2023, 1:45 AM · Restricted Project, Restricted Project

Feb 19 2023

shchenz added inline comments to D141673: [PowerPC][NFC] refactor eligible check for tail call optimization.
Feb 19 2023, 6:06 PM · Restricted Project, Restricted Project

Feb 17 2023

shchenz accepted D141673: [PowerPC][NFC] refactor eligible check for tail call optimization.

LGTM. Please wait for some days for other reviewers.

Feb 17 2023, 2:10 AM · Restricted Project, Restricted Project
shchenz accepted D143997: [AIX] Lower some memory intrinsics to millicode functions on AIX.

LGTM. Thanks for the improvement.

Feb 17 2023, 1:55 AM · Restricted Project, Restricted Project

Feb 14 2023

shchenz added a comment to D138899: [DAGCombiner] handle more store value forwarding.

I'm not familiar with scheduler, but it looks to me like a general scheduler problem rather than X86 specific. I have filed 60744.
BTW, I found the problem cannot be reproduced without this patch. I guess it's the change happen to trigger the schedule.

Feb 14 2023, 4:48 PM · Restricted Project, Restricted Project

Feb 13 2023

shchenz added a comment to D138899: [DAGCombiner] handle more store value forwarding.

To me, this patch is innocent for the failure https://bugs.chromium.org/p/chromium/issues/detail?id=1412740. The patch exposes an issue in the pre-ra machine scheduler on X86 target.

Feb 13 2023, 11:00 PM · Restricted Project, Restricted Project
shchenz committed rG6ee2f770efb6: [PowerPC][GISel] add support for fpconstant (authored by shchenz).
[PowerPC][GISel] add support for fpconstant
Feb 13 2023, 6:39 PM · Restricted Project, Restricted Project
shchenz closed D133340: [PowerPC][GISel]select floating point constant from TOC.
Feb 13 2023, 6:39 PM · Restricted Project, Restricted Project

Feb 12 2023

shchenz added a reviewer for D143725: [llvm-objdump][ARM] support --symbolize-operands for ARM/ELF: Esme.
Feb 12 2023, 7:06 PM · Restricted Project, Restricted Project
shchenz accepted D140982: [HardwareLoops] NewPM support.

LGTM.

Feb 12 2023, 6:45 PM · Restricted Project, Restricted Project, Restricted Project
shchenz updated the diff for D133340: [PowerPC][GISel]select floating point constant from TOC.

address comments from @amyk

Feb 12 2023, 6:44 PM · Restricted Project, Restricted Project

Feb 6 2023

shchenz added a comment to D138899: [DAGCombiner] handle more store value forwarding.

@shchenz You neither incorporated nor responded to the comments I left when approving the patch. Could you please respond to the two comments as to why you felt they did not need to be incorporated into the final patch?

Feb 6 2023, 9:36 PM · Restricted Project, Restricted Project
shchenz committed rG63854f91d3ee: [DAGCombiner] fix comments for D138899; NFC (authored by shchenz).
[DAGCombiner] fix comments for D138899; NFC
Feb 6 2023, 9:33 PM · Restricted Project, Restricted Project

Feb 1 2023

shchenz committed rGf35a09daebd0: [DAGCombiner] handle more store value forwarding (authored by shchenz).
[DAGCombiner] handle more store value forwarding
Feb 1 2023, 6:06 PM · Restricted Project, Restricted Project
shchenz committed rG0a32e693e31f: [DAGCombiner][NFC] add testcases for D138899 (authored by shchenz).
[DAGCombiner][NFC] add testcases for D138899
Feb 1 2023, 6:06 PM · Restricted Project, Restricted Project
shchenz closed D138899: [DAGCombiner] handle more store value forwarding.
Feb 1 2023, 6:06 PM · Restricted Project, Restricted Project

Jan 31 2023

shchenz added a comment to D138899: [DAGCombiner] handle more store value forwarding.

Thanks for review @nemanjai .

Jan 31 2023, 5:46 PM · Restricted Project, Restricted Project
shchenz updated the diff for D138899: [DAGCombiner] handle more store value forwarding.

address @nemanjai comments and rebase

Jan 31 2023, 5:46 PM · Restricted Project, Restricted Project

Jan 12 2023

shchenz added inline comments to D140982: [HardwareLoops] NewPM support.
Jan 12 2023, 7:19 PM · Restricted Project, Restricted Project, Restricted Project

Jan 11 2023

shchenz accepted D139813: [PowerPC] Improve materialization for immediates which is almost a 32 bit splat..

LGTM. Thanks for the improvement. Please wait for some days for other reviewers.

Jan 11 2023, 11:56 PM · Restricted Project, Restricted Project
shchenz added inline comments to D141473: [PowerPC] Simplify fp-to-int store optimization.
Jan 11 2023, 11:49 PM · Restricted Project, Restricted Project
shchenz accepted D141566: [PowerPC] Use default attributes for more intrinsics.

LGTM. Thanks for improving this.

Jan 11 2023, 11:02 PM · Restricted Project, Restricted Project

Jan 10 2023

shchenz added a comment to D138899: [DAGCombiner] handle more store value forwarding.

@tstellar Hi, could you please help to confirm if the AMDGPU case changes are valid? Thank you very much.

Jan 10 2023, 12:32 AM · Restricted Project, Restricted Project

Jan 9 2023

shchenz added a comment to D140369: [PowerPC] update PPCTTIImpl::supportsTailCallFor() check conditions.

Seems for patch that addresses github issues, you can add a comment Fixes #59315 in the description.

Jan 9 2023, 11:57 PM · Restricted Project, Restricted Project
shchenz added a comment to D140369: [PowerPC] update PPCTTIImpl::supportsTailCallFor() check conditions.

hmm, another issue cause by inconsistent logic for the tail call check between the IR coro-split pass and the instruction selection pass. Should we make them be consistent to avoid more issues?
For example, can we refactor IsEligibleForTailCallOptimization_64SVR4 and IsEligibleForTailCallOptimization() and call them in the TTI function supportsTailCallFor? I see there is a SelectionDAG &DAG parameter for these two functions, but the DAG is used to get the Caller Function, I think it should be easy to change the SelectionDAG to a Function parameter?

Jan 9 2023, 11:53 PM · Restricted Project, Restricted Project
shchenz added a reviewer for D122198: [PowerPC] Add .ref in backend for AIX XCOFF to support `-bcdtors:csect` linker option: stephenpeckham.
Jan 9 2023, 4:26 PM · Restricted Project, Restricted Project
shchenz added a reviewer for D138986: [AIX][BigArchive] Treat the archive is empty if the first child member offset is zero: stephenpeckham.
Jan 9 2023, 4:25 PM · Restricted Project, Restricted Project
shchenz accepted D139516: [XCOFF] handle the toc-data for object file generation..

Looks right now. Thanks for adding this support.

Jan 9 2023, 3:50 AM · Restricted Project, Restricted Project
shchenz added a comment to D139813: [PowerPC] Improve materialization for immediates which is almost a 32 bit splat..

Addressed comments and verified the materialization results.
However, I can't find a proper instruction to turn 0xABCD ADDD ABCD ADDD into 0xABCD ABCD ABCD ADDD, ie. modify Lo16OfHi32 (bits 32...47), so I didn't handle the pattern like 0xABCD ABCD ABCD ADDD.

Jan 9 2023, 2:11 AM · Restricted Project, Restricted Project

Jan 8 2023

shchenz requested review of D141247: [GlobalISelEmitter][WIP] handle operand without MVT/class.
Jan 8 2023, 8:24 PM · Restricted Project, Restricted Project

Jan 5 2023

shchenz added inline comments to D133340: [PowerPC][GISel]select floating point constant from TOC.
Jan 5 2023, 7:49 PM · Restricted Project, Restricted Project
shchenz committed rG85edf1fc7092: [PowerPC] remove the ctr clobbers check related to TLS access (authored by shchenz).
[PowerPC] remove the ctr clobbers check related to TLS access
Jan 5 2023, 6:24 PM · Restricted Project, Restricted Project
shchenz closed D140367: [PowerPC] remove the ctr clobbers check related to TLS access.
Jan 5 2023, 6:23 PM · Restricted Project, Restricted Project
shchenz committed rGdd0edc876cfe: [PowerPC][NFC] add an option to keep the test point (authored by shchenz).
[PowerPC][NFC] add an option to keep the test point
Jan 5 2023, 6:19 PM · Restricted Project, Restricted Project
shchenz closed D140366: [PowerPC][NFC] adding an option to keep the test point .
Jan 5 2023, 6:19 PM · Restricted Project, Restricted Project
shchenz added inline comments to D140982: [HardwareLoops] NewPM support.
Jan 5 2023, 3:05 AM · Restricted Project, Restricted Project, Restricted Project
shchenz added a comment to D140367: [PowerPC] remove the ctr clobbers check related to TLS access.

gentle ping

Jan 5 2023, 12:07 AM · Restricted Project, Restricted Project
shchenz added a comment to D140366: [PowerPC][NFC] adding an option to keep the test point .

gentle ping

Jan 5 2023, 12:07 AM · Restricted Project, Restricted Project
shchenz accepted D137819: [XCOFF] support the overflow section (only relocation overflow is handled)..

LGTM. Thanks for working on this.

Jan 5 2023, 12:01 AM · Restricted Project, Restricted Project

Jan 4 2023

shchenz added inline comments to rGac93a4e77d1e: [PowerPC][GISel]fcmp support.
Jan 4 2023, 11:55 PM · Restricted Project, Restricted Project
shchenz committed rG6a930e889145: 1: use class instead of MVT (authored by shchenz).
1: use class instead of MVT
Jan 4 2023, 11:55 PM · Restricted Project, Restricted Project
shchenz committed rGac93a4e77d1e: [PowerPC][GISel]fcmp support (authored by shchenz).
[PowerPC][GISel]fcmp support
Jan 4 2023, 11:49 PM · Restricted Project, Restricted Project
shchenz closed D140878: [PowerPC][GISel]fcmp support.
Jan 4 2023, 11:49 PM · Restricted Project, Restricted Project
shchenz added inline comments to D140878: [PowerPC][GISel]fcmp support.
Jan 4 2023, 11:49 PM · Restricted Project, Restricted Project
shchenz added inline comments to D133340: [PowerPC][GISel]select floating point constant from TOC.
Jan 4 2023, 11:30 PM · Restricted Project, Restricted Project
shchenz updated the diff for D133340: [PowerPC][GISel]select floating point constant from TOC.

address comments from @arsenm and @nemanjai

Jan 4 2023, 11:30 PM · Restricted Project, Restricted Project
shchenz added inline comments to D139516: [XCOFF] handle the toc-data for object file generation..
Jan 4 2023, 8:44 PM · Restricted Project, Restricted Project

Jan 3 2023

shchenz added inline comments to D140878: [PowerPC][GISel]fcmp support.
Jan 3 2023, 1:56 AM · Restricted Project, Restricted Project
shchenz updated the diff for D140878: [PowerPC][GISel]fcmp support.
Jan 3 2023, 1:53 AM · Restricted Project, Restricted Project
shchenz requested review of D140878: [PowerPC][GISel]fcmp support.
Jan 3 2023, 1:52 AM · Restricted Project, Restricted Project

Dec 25 2022

shchenz committed rGb1d7010caa43: [DebugInfo] make DW_LANG_C11 respect -gstrict-dwarf (authored by shchenz).
[DebugInfo] make DW_LANG_C11 respect -gstrict-dwarf
Dec 25 2022, 6:01 PM · Restricted Project, Restricted Project
shchenz closed D140544: [DebugInfo] make DW_LANG_C11 respect -gstrict-dwarf.
Dec 25 2022, 6:01 PM · Restricted Project, Restricted Project, Restricted Project

Dec 23 2022

shchenz added inline comments to D139813: [PowerPC] Improve materialization for immediates which is almost a 32 bit splat..
Dec 23 2022, 3:08 AM · Restricted Project, Restricted Project
shchenz added inline comments to D139516: [XCOFF] handle the toc-data for object file generation..
Dec 23 2022, 1:29 AM · Restricted Project, Restricted Project

Dec 22 2022

shchenz added inline comments to D138696: [PowerPC] Exploit test data class instruction for isinf/iszero.
Dec 22 2022, 8:01 PM · Restricted Project, Restricted Project
shchenz added inline comments to D137819: [XCOFF] support the overflow section (only relocation overflow is handled)..
Dec 22 2022, 7:37 PM · Restricted Project, Restricted Project