Page MenuHomePhabricator
Feed Advanced Search

Fri, Jun 2

TimNN added a comment to D141712: [GVN] Improve PRE on load instructions.

I could _not_ reproduce the problems I previously saw when building the Rust compiler, so seems to be all good now :).

Fri, Jun 2, 8:15 AM · Restricted Project, Restricted Project

Wed, May 17

TimNN added a comment to D141712: [GVN] Improve PRE on load instructions.

@TimNN, I have reverted it, LLVM buildbot also reported a sanitized bootstrap failure.

If you have simple repro, it will be a great help to me.

Wed, May 17, 9:16 AM · Restricted Project, Restricted Project

Tue, May 16

TimNN added a comment to D141712: [GVN] Improve PRE on load instructions.

I strongly suspect that this patch is breaking the Rust compiler when building against LLVM head:

Tue, May 16, 10:14 PM · Restricted Project, Restricted Project

Feb 24 2023

TimNN added a comment to D139902: IR: Add nofpclass parameter attribute.

The nofpclass-invalid.ll test added by this patch fails for me locally, and on the buildbot as well: https://lab.llvm.org/buildbot/#/builders/109/builds/58503

Feb 24 2023, 4:13 AM · Restricted Project, Restricted Project

Feb 22 2023

TimNN added a comment to D139209: [IRMover] Remove UB implying parameter attributes when necessary.

The current code is failing for a situation like this:

Feb 22 2023, 11:17 PM · Restricted Project, Restricted Project

Feb 21 2023

TimNN added a comment to D133036: [InstCombine] Treat passing undef to noundef params as UB.

The ThinLTO related breakage I mentioned above should be fixed as of https://github.com/llvm/llvm-project/commit/451799bb8261bde52bbfef226d019caf1d82aa42.

Feb 21 2023, 10:48 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Feb 17 2023

TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Rebase onto HEAD.

Feb 17 2023, 9:25 AM · Restricted Project, Restricted Project

Feb 7 2023

TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Feb 7 2023, 12:52 AM · Restricted Project, Restricted Project

Feb 1 2023

TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Feb 1 2023, 10:27 AM · Restricted Project, Restricted Project

Jan 14 2023

TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Jan 14 2023, 6:44 AM · Restricted Project, Restricted Project
TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Fix definition/declaration wording in comment.

Jan 14 2023, 6:43 AM · Restricted Project, Restricted Project

Jan 13 2023

TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Jan 13 2023, 7:25 AM · Restricted Project, Restricted Project
TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Jan 13 2023, 7:00 AM · Restricted Project, Restricted Project
TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Don't use anonymous values in tests

Jan 13 2023, 6:58 AM · Restricted Project, Restricted Project
TimNN updated the summary of D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Jan 13 2023, 4:21 AM · Restricted Project, Restricted Project
TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Adapt to changes from D137360.

Jan 13 2023, 4:20 AM · Restricted Project, Restricted Project
TimNN abandoned D141675: [IRMover] Remove UB implying parameter attributes when necessary.
Jan 13 2023, 4:16 AM · Restricted Project, Restricted Project
TimNN requested review of D141675: [IRMover] Remove UB implying parameter attributes when necessary.
Jan 13 2023, 4:15 AM · Restricted Project, Restricted Project

Jan 11 2023

TimNN added a comment to D141482: [LVI][CVP] Make use of condition known at use.

Thanks a lot @nikic! I've verified that this unbreaks Rust's codegen test.

Jan 11 2023, 8:01 AM · Restricted Project, Restricted Project

Jan 10 2023

TimNN added a comment to D140798: [InstCombine] Fold zero check followed by decrement to usub.sat.

Just as a heads-up, this regresses one of Rust's codegen tests: fn check_foo2 in [issue-45222.rs](https://github.com/rust-lang/rust/blob/master/src/test/codegen/issue-45222.rs) is no longer being constant-folded, AFAICT because IndVarSimplifyPass no longer works on the %a = tail call i64 @llvm.usub.sat.i64(i64 %b, i64 1) generated by this patch (instead of %a = add i64 %b, -1 without this patch).

Jan 10 2023, 6:50 AM · Restricted Project, Restricted Project

Dec 22 2022

TimNN added a comment to D139209: [IRMover] Remove UB implying parameter attributes when necessary.

I'm thinking that I can land D137360, and you can extend updateAttributes() function to include a src and dest arguments, and call your ensureFunctionCompatibility() function from there.

Dec 22 2022, 12:55 PM · Restricted Project, Restricted Project

Dec 13 2022

TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Dec 13 2022, 11:50 AM · Restricted Project, Restricted Project
TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Only call ensureFunctionCompatibility if linkGlobalValueBody isn't called.

Dec 13 2022, 11:49 AM · Restricted Project, Restricted Project

Dec 7 2022

TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Sync to HEAD to check if that resolves the (IMO likely unrelated) test timeout.

Dec 7 2022, 1:17 AM · Restricted Project, Restricted Project

Dec 6 2022

TimNN added a comment to D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Thanks for the review and also your input on https://github.com/llvm/llvm-project/issues/59347!

Dec 6 2022, 1:16 PM · Restricted Project, Restricted Project
TimNN updated the diff for D139209: [IRMover] Remove UB implying parameter attributes when necessary.

Address review comments

Dec 6 2022, 1:11 PM · Restricted Project, Restricted Project

Dec 5 2022

TimNN added inline comments to D139209: [IRMover] Remove UB implying parameter attributes when necessary.
Dec 5 2022, 2:09 PM · Restricted Project, Restricted Project

Dec 2 2022

TimNN published D139209: [IRMover] Remove UB implying parameter attributes when necessary for review.
Dec 2 2022, 10:08 AM · Restricted Project, Restricted Project

Nov 13 2022

TimNN added a comment to D133036: [InstCombine] Treat passing undef to noundef params as UB.

I'm sorry for the noise. Further investigation has shown that this happens when Rust is doing (thin) LTO, and I don't think this patch can be considered in any way "at fault" here, so this is the last you'll hear from me on the topic here.

Nov 13 2022, 11:13 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Nov 12 2022

TimNN added a comment to D133036: [InstCombine] Treat passing undef to noundef params as UB.

I didn't manage to repro with opt, so still no compilable IR. I did some more debugging, though:

Nov 12 2022, 4:25 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
TimNN added a comment to D133036: [InstCombine] Treat passing undef to noundef params as UB.

I've included excerpts from the IR below. It will take me a bit to provide something compilable. Though you are right, the noundef did indeed get removed from the call.

Nov 12 2022, 9:28 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
TimNN added a comment to D133036: [InstCombine] Treat passing undef to noundef params as UB.

I'm still trying to properly minimize this, but this definitely interacts badly with other optimizations (which triggers the Rust CI failure I mentioned above):

Nov 12 2022, 9:09 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Sep 2 2022

TimNN added a comment to D133036: [InstCombine] Treat passing undef to noundef params as UB.

This also broke Rust when compiled at LLVM head: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/13166#0182fb4a-0f2d-4f2e-830f-f62b463b8d48. (I don't know whether this was some existing UB that got only exposed by this patch or not, but wanted to make you aware. Reproduces with 2+ codegen units and a 1+ optimization level).

Sep 2 2022, 5:36 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Nov 21 2018

TimNN added a comment to D53485: [ScheduleDAGRRList] Do not preschedule the node has ADJCALLSTACKDOWN parent.

Sorry for taking so long to reply. The original example I shared (https://gist.github.com/TimNN/501819422631149c3ab2b8cc0b15c98d) reproduces the issue for the AVR target. I'm not sure about the terminology here, but I would consider AVR "in-tree", even though it is still experimental. I don't know if / how the issue can be reproduced on other targets.

Nov 21 2018, 9:31 PM

Nov 1 2018

TimNN added a comment to D53485: [ScheduleDAGRRList] Do not preschedule the node has ADJCALLSTACKDOWN parent.

Friendly Ping! Is there anything I can do to help this patch along? It looks like no reviewers have been assigned yet, do you know of anyone who would be appropriate, @shiva0217?

Nov 1 2018, 11:36 PM
TimNN removed a reviewer for D53106: [SelectionDAG] Fix behavior topological ordering with regards to glued nodes.: TimNN.

I don't think I can help here any more. The changes to hasPredecessorHelper look good to me an definitely fix the original problem. However I don't know enough about the surrounding code to comment on the changes in AssignTopologicalOrder.

Nov 1 2018, 11:36 PM · Restricted Project

Oct 22 2018

TimNN added inline comments to D53485: [ScheduleDAGRRList] Do not preschedule the node has ADJCALLSTACKDOWN parent.
Oct 22 2018, 7:40 AM

Oct 10 2018

TimNN added a comment to D53106: [SelectionDAG] Fix behavior topological ordering with regards to glued nodes..

The approach in general looks good to me, however I don't think this interacts correctly with the TopologicalPrune optimization.

Oct 10 2018, 10:52 PM · Restricted Project

May 3 2017

TimNN abandoned D32822: Win64: set HasWinCFI for naked functions.

Another fix has been commited.

May 3 2017, 9:43 PM
TimNN created D32822: Win64: set HasWinCFI for naked functions.
May 3 2017, 12:05 PM

Apr 10 2017

TimNN added a comment to D31790: [PowerPC] Assume 128bit multiply uses CTR.

I cannot commit this myself, could someone please do it for me?

Apr 10 2017, 1:52 PM
TimNN added a comment to D31790: [PowerPC] Assume 128bit multiply uses CTR.

@hfinkel: Thanks for the feedback!

Apr 10 2017, 9:36 AM

Apr 7 2017

TimNN updated the diff for D31790: [PowerPC] Assume 128bit multiply uses CTR.

Updated to a more targeted fix and added a test as suggested.

Apr 7 2017, 9:39 AM

Apr 6 2017

TimNN created D31790: [PowerPC] Assume 128bit multiply uses CTR.
Apr 6 2017, 3:18 PM

Mar 18 2017

TimNN added a comment to D31116: [ARM] handle promotion of zero sized constants..

I cannot commit this myself, could someone please do it for me?

Mar 18 2017, 5:12 AM
TimNN updated the diff for D31116: [ARM] handle promotion of zero sized constants..

I have updated the patch as suggested.

Mar 18 2017, 4:35 AM
TimNN created D31116: [ARM] handle promotion of zero sized constants..
Mar 18 2017, 2:26 AM