Re: [PATCH] D104099: [NewPM] Remove SpeculateAroundPHIs pass from pipeline

2021-06-15 Thread Wei Mi via cfe-commits
On Mon, Jun 14, 2021 at 4:52 PM Wei Mi wrote: > > > On Mon, Jun 14, 2021 at 4:04 PM Xinliang David Li > wrote: > >> >> >> On Mon, Jun 14, 2021 at 3:59 PM Roman Lebedev via Phabricator < >> revi...@reviews.llvm.org> wrote: >> >>> lebedev.ri added a subscriber: MaskRay. >>> lebedev.ri added a

Re: [PATCH] D104099: [NewPM] Remove SpeculateAroundPHIs pass from pipeline

2021-06-14 Thread Wei Mi via cfe-commits
On Mon, Jun 14, 2021 at 4:04 PM Xinliang David Li wrote: > > > On Mon, Jun 14, 2021 at 3:59 PM Roman Lebedev via Phabricator < > revi...@reviews.llvm.org> wrote: > >> lebedev.ri added a subscriber: MaskRay. >> lebedev.ri added a comment. >> >> In D104099#2815531

[clang] d535a05 - [ThinLTO] During module importing, close one source module before open

2021-03-30 Thread Wei Mi via cfe-commits
Author: Wei Mi Date: 2021-03-30T14:37:29-07:00 New Revision: d535a05ca1a6b959399762d5e14efde1fcfe6af8 URL: https://github.com/llvm/llvm-project/commit/d535a05ca1a6b959399762d5e14efde1fcfe6af8 DIFF: https://github.com/llvm/llvm-project/commit/d535a05ca1a6b959399762d5e14efde1fcfe6af8.diff LOG:

[clang] 7a6c894 - [SampleFDO] Add use-sample-profile function attribute.

2020-06-02 Thread Wei Mi via cfe-commits
Author: Wei Mi Date: 2020-06-02T17:23:17-07:00 New Revision: 7a6c89427c9babc8e4a69e8a2b61bbf4a4b80c56 URL: https://github.com/llvm/llvm-project/commit/7a6c89427c9babc8e4a69e8a2b61bbf4a4b80c56 DIFF: https://github.com/llvm/llvm-project/commit/7a6c89427c9babc8e4a69e8a2b61bbf4a4b80c56.diff LOG:

r323281 - Adjust MaxAtomicInlineWidth for i386/i486 targets.

2018-01-23 Thread Wei Mi via cfe-commits
Author: wmi Date: Tue Jan 23 15:27:57 2018 New Revision: 323281 URL: http://llvm.org/viewvc/llvm-project?rev=323281=rev Log: Adjust MaxAtomicInlineWidth for i386/i486 targets. This is to fix the bug reported in https://bugs.llvm.org/show_bug.cgi?id=34347#c6. Currently, all MaxAtomicInlineWidth

r315915 - [Bitfield] Add an option to access bitfield in a fine-grained manner.

2017-10-16 Thread Wei Mi via cfe-commits
Author: wmi Date: Mon Oct 16 09:50:27 2017 New Revision: 315915 URL: http://llvm.org/viewvc/llvm-project?rev=315915=rev Log: [Bitfield] Add an option to access bitfield in a fine-grained manner. Currently all the consecutive bitfields are wrapped as a large integer unless there is unamed zero

r314145 - Reinstall the patch "Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr" after fixing PR31620.

2017-09-25 Thread Wei Mi via cfe-commits
Author: wmi Date: Mon Sep 25 12:57:59 2017 New Revision: 314145 URL: http://llvm.org/viewvc/llvm-project?rev=314145=rev Log: Reinstall the patch "Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr" after fixing PR31620. This is to fix PR34347.

r313992 - [Atomic][X8664] set max atomic inline width according to the target

2017-09-22 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Sep 22 09:30:00 2017 New Revision: 313992 URL: http://llvm.org/viewvc/llvm-project?rev=313992=rev Log: [Atomic][X8664] set max atomic inline width according to the target This is to fix PR31620. MaxAtomicInlineWidth is set to 128 for x86_64. However for target without cx16

r312830 - Reinstall the patch "Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr".

2017-09-08 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Sep 8 14:58:18 2017 New Revision: 312830 URL: http://llvm.org/viewvc/llvm-project?rev=312830=rev Log: Reinstall the patch "Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr". This is to fix PR34347. EmitAtomicExpr now only uses

r312810 - Delete empty file test/CodeGenCXX/atomic-align.cpp after the revert at rL312805.

2017-09-08 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Sep 8 11:31:21 2017 New Revision: 312810 URL: http://llvm.org/viewvc/llvm-project?rev=312810=rev Log: Delete empty file test/CodeGenCXX/atomic-align.cpp after the revert at rL312805. Removed: cfe/trunk/test/CodeGenCXX/atomic-align.cpp Removed:

r312805 - Revert rL312801 since it generated some calls from libatomic and broke some tests.

2017-09-08 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Sep 8 11:10:13 2017 New Revision: 312805 URL: http://llvm.org/viewvc/llvm-project?rev=312805=rev Log: Revert rL312801 since it generated some calls from libatomic and broke some tests. Modified: cfe/trunk/lib/CodeGen/CGAtomic.cpp

r312801 - Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr.

2017-09-08 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Sep 8 10:07:32 2017 New Revision: 312801 URL: http://llvm.org/viewvc/llvm-project?rev=312801=rev Log: Use EmitPointerWithAlignment to get alignment information of the pointer used in atomic expr. This is to fix PR34347. EmitAtomicExpr now only uses alignment information

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-09-03 Thread Wei Mi via cfe-commits
On Sun, Sep 3, 2017 at 8:55 PM, Hal Finkel wrote: > > On 09/03/2017 10:38 PM, Xinliang David Li wrote: > > Store forwarding stall cost is usually much higher compared with a load > hitting L1 cache. For instance, on Haswell, the latter is ~4 cycles, while > the store forwarding

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-09-03 Thread Wei Mi via cfe-commits
On Sat, Sep 2, 2017 at 6:04 PM, Hal Finkel wrote: > > On 08/22/2017 10:56 PM, Wei Mi via llvm-commits wrote: >> >> On Tue, Aug 22, 2017 at 7:03 PM, Xinliang David Li >> wrote: >>> >>> >>> On Tue, Aug 22, 2017 at 6:37 PM, Chandler Carruth via Phabricator >>>

Re: [PATCH] D36562: [Bitfield] Make the bitfield a separate location if it has width of legal integer type and its bit offset is naturally aligned for the type

2017-08-22 Thread Wei Mi via cfe-commits
On Tue, Aug 22, 2017 at 7:03 PM, Xinliang David Li wrote: > > > On Tue, Aug 22, 2017 at 6:37 PM, Chandler Carruth via Phabricator > wrote: >> >> chandlerc added a comment. >> >> I'm really not a fan of the degree of complexity and subtlety that this

r281587 - Update clang unittests for rL281586.

2016-09-15 Thread Wei Mi via cfe-commits
Author: wmi Date: Thu Sep 15 01:31:30 2016 New Revision: 281587 URL: http://llvm.org/viewvc/llvm-project?rev=281587=rev Log: Update clang unittests for rL281586. The change in rL281586 is in llvm component and tests updated here are in clang component, so I have to commit them consecutively.

Re: [PATCH] D18843: Always have clang pass -pie-level and -pic-level values to the code generator

2016-04-08 Thread Wei Mi via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL265816: Always have clang pass -pie-level and -pic-level values to the code generator. (authored by wmi). Changed prior to commit: http://reviews.llvm.org/D18843?vs=52945=53038#toc Repository: rL

r265816 - Always have clang pass -pie-level and -pic-level values to the code generator.

2016-04-08 Thread Wei Mi via cfe-commits
Author: wmi Date: Fri Apr 8 12:42:32 2016 New Revision: 265816 URL: http://llvm.org/viewvc/llvm-project?rev=265816=rev Log: Always have clang pass -pie-level and -pic-level values to the code generator. Patch by tmsriram! Differential Revision: http://reviews.llvm.org/D18843 Modified: