Page MenuHomePhabricator

victor-eds (Victor Perez)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 26 2021, 3:42 AM (79 w, 3 d)

Recent Activity

May 2 2023

victor-eds committed rGb8064c1a039e: [mlir][llvm] Add trap intrinsics to the dialect (authored by victor-eds).
[mlir][llvm] Add trap intrinsics to the dialect
May 2 2023, 2:10 AM · Restricted Project, Restricted Project
victor-eds closed D149574: [mlir][llvm] Add trap intrinsics to the dialect.
May 2 2023, 2:09 AM · Restricted Project, Restricted Project

May 1 2023

victor-eds added a comment to D149574: [mlir][llvm] Add trap intrinsics to the dialect.

Yep, I think we can use a single comment. Thanks for the quick review!

May 1 2023, 3:04 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D149574: [mlir][llvm] Add trap intrinsics to the dialect.

Drop similar doc comments

May 1 2023, 3:03 AM · Restricted Project, Restricted Project
victor-eds added reviewers for D149574: [mlir][llvm] Add trap intrinsics to the dialect: gysit, zero9178.
May 1 2023, 1:39 AM · Restricted Project, Restricted Project
victor-eds requested review of D149574: [mlir][llvm] Add trap intrinsics to the dialect.
May 1 2023, 1:35 AM · Restricted Project, Restricted Project

Apr 26 2023

victor-eds committed rGd67901dd2df4: [mlir][llvm] Use cached constants when importing landingpad instructions (authored by victor-eds).
[mlir][llvm] Use cached constants when importing landingpad instructions
Apr 26 2023, 6:32 AM · Restricted Project, Restricted Project
victor-eds closed D149247: [mlir][llvm] Use cached constants when importing landingpad instructions.
Apr 26 2023, 6:32 AM · Restricted Project, Restricted Project
victor-eds accepted D149253: [mlir][llvm] Add assertion in LLVM IR import (NFC)..

LGTM, thanks!

Apr 26 2023, 6:31 AM · Restricted Project, Restricted Project
victor-eds added a comment to D149247: [mlir][llvm] Use cached constants when importing landingpad instructions.

Thanks for the quick reviews!

Apr 26 2023, 4:42 AM · Restricted Project, Restricted Project
victor-eds added reviewers for D149247: [mlir][llvm] Use cached constants when importing landingpad instructions: zero9178, gysit.
Apr 26 2023, 2:36 AM · Restricted Project, Restricted Project
victor-eds requested review of D149247: [mlir][llvm] Use cached constants when importing landingpad instructions.
Apr 26 2023, 2:35 AM · Restricted Project, Restricted Project

Apr 25 2023

victor-eds committed rG8cf970faacee: [mlir][llvm][test] Move exception-related tests to their own file (authored by victor-eds).
[mlir][llvm][test] Move exception-related tests to their own file
Apr 25 2023, 7:01 AM · Restricted Project, Restricted Project
victor-eds closed D149043: [mlir][llvm][test] Move exception-related tests to their own file.
Apr 25 2023, 7:01 AM · Restricted Project, Restricted Project

Apr 24 2023

victor-eds added reviewers for D149043: [mlir][llvm][test] Move exception-related tests to their own file: gysit, zero9178.
Apr 24 2023, 1:53 AM · Restricted Project, Restricted Project
victor-eds requested review of D149043: [mlir][llvm][test] Move exception-related tests to their own file.
Apr 24 2023, 1:52 AM · Restricted Project, Restricted Project

Apr 18 2023

victor-eds committed rGbe717f0a49d9: [mlir][llvm] Handle invoke op branching to block with its result as an argument (authored by victor-eds).
[mlir][llvm] Handle invoke op branching to block with its result as an argument
Apr 18 2023, 2:54 AM · Restricted Project, Restricted Project
victor-eds closed D148313: [mlir][llvm] Handle invoke op branching to block with its result as an argument.
Apr 18 2023, 2:54 AM · Restricted Project, Restricted Project

Apr 14 2023

victor-eds added a comment to D148313: [mlir][llvm] Handle invoke op branching to block with its result as an argument.

LGTM, feel free to move the exception related tests into a separate test file, e.g. exception.ll, now that you are extending test coverage and functionality!

Apr 14 2023, 5:26 AM · Restricted Project, Restricted Project
victor-eds added a comment to D148313: [mlir][llvm] Handle invoke op branching to block with its result as an argument.

Thanks for the quick review! I've addressed your comments already.

Apr 14 2023, 3:00 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D148313: [mlir][llvm] Handle invoke op branching to block with its result as an argument.

Address comments

Apr 14 2023, 3:00 AM · Restricted Project, Restricted Project
victor-eds added reviewers for D148313: [mlir][llvm] Handle invoke op branching to block with its result as an argument: gysit, Dinistro, zero9178.
Apr 14 2023, 1:57 AM · Restricted Project, Restricted Project
victor-eds requested review of D148313: [mlir][llvm] Handle invoke op branching to block with its result as an argument.
Apr 14 2023, 1:55 AM · Restricted Project, Restricted Project

Apr 3 2023

victor-eds committed rG4993e4e5d672: [mlir][llvm] Drop `ResumeOp::verify()` function (authored by victor-eds).
[mlir][llvm] Drop `ResumeOp::verify()` function
Apr 3 2023, 1:56 AM · Restricted Project, Restricted Project
victor-eds closed D147342: [mlir][llvm] Drop `ResumeOp::verify()` function.
Apr 3 2023, 1:56 AM · Restricted Project, Restricted Project

Mar 31 2023

victor-eds added reviewers for D147342: [mlir][llvm] Drop `ResumeOp::verify()` function: gysit, Dinistro.
Mar 31 2023, 10:25 AM · Restricted Project, Restricted Project
victor-eds requested review of D147342: [mlir][llvm] Drop `ResumeOp::verify()` function.
Mar 31 2023, 10:24 AM · Restricted Project, Restricted Project

Mar 28 2023

victor-eds committed rG478bd0735fc0: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types (authored by victor-eds).
[mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types
Mar 28 2023, 8:23 AM · Restricted Project, Restricted Project
victor-eds closed D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.
Mar 28 2023, 8:23 AM · Restricted Project, Restricted Project
victor-eds added a comment to D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

Thanks for the comments everyone! I'll land this now.

Mar 28 2023, 8:21 AM · Restricted Project, Restricted Project
victor-eds abandoned D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Moved to https://reviews.llvm.org/D146968

Mar 28 2023, 7:12 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

Improve readability

Mar 28 2023, 7:10 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

Rename var

Mar 28 2023, 7:07 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

Address comments

Mar 28 2023, 7:03 AM · Restricted Project, Restricted Project
victor-eds added a comment to D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

the type equality check should move into the llvm.func

I think moving the verifier to llvm.func sounds like a good idea. Then only a single pass is needed and there is no need to handle possible issues with non-existing parent functions. I would even consider moving the logic in https://reviews.llvm.org/D145802 to the same verifier. LLVM's verifier also works with a single pass and a global variable that is used for checking the types of landing pad and resume ops at once:

https://github.com/llvm/llvm-project/blob/15f52c1502e6aa2f7553393d76da92b21c7cf493/llvm/lib/IR/Verifier.cpp#L309

An additional advantage of the solution is that the verifier only runs if the landing pad operations are part of an llvm.func. If not, for example, during testing or while the IR is in a transient state in between lowering passes the verifier does not run. This behavior is in line with the existing verifier that only checks for the personality function if the landing pad op is part of a llvm.func.

Mar 28 2023, 3:34 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

Check type consistency in llvm.func verifier

Mar 28 2023, 3:31 AM · Restricted Project, Restricted Project

Mar 27 2023

victor-eds added a comment to D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.

It seems a bit wasteful to walk all the landingpads for each of the landingpads, but there might not be another way.

Mar 27 2023, 8:48 AM · Restricted Project, Restricted Project
victor-eds added reviewers for D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types: zero9178, gysit, Dinistro.
Mar 27 2023, 8:00 AM · Restricted Project, Restricted Project
victor-eds requested review of D146968: [mlir][llvm] Verify consistency of llvm.resume and llvm.landingpad types.
Mar 27 2023, 7:59 AM · Restricted Project, Restricted Project
victor-eds added a comment to D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

I addressed your comments already

Mar 27 2023, 7:16 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Drop braces

Mar 27 2023, 7:16 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Add test

Mar 27 2023, 7:11 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Address review comments

Mar 27 2023, 6:50 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Run tests

Mar 27 2023, 6:03 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Rebase

Mar 27 2023, 5:56 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Drop include

Mar 27 2023, 5:38 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Allow nested ops

Mar 27 2023, 5:35 AM · Restricted Project, Restricted Project
victor-eds added a comment to D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Yes, I saw that the code differs from the spec. According to the specification of the landingpad instruction:

The ‘landingpad’ instruction defines the values which are set by the personality function upon re-entry to the function, and therefore the “result type” of the landingpad instruction. As with calling conventions, how the personality function results are represented in LLVM IR is target specific.

I'd argue it would make sense to check every llvm.landingpad operation in a function has the same type (not sure if we should check it in llvm.resume's verifier). If you don't mind, I can address that in a different patch to keep this one small and simple and separate concerns.

I think it is fine as is. Making the verifier not have false positives is much more important than catching false negatives.

LGTM, but please wait a day or two for others to check as well. Ading some extra reviewers for visibility as well.

Mar 27 2023, 5:30 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Assume all llvm.landingpad operations have the same type.

Mar 27 2023, 5:28 AM · Restricted Project, Restricted Project
victor-eds added a comment to D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.
Mar 27 2023, 5:00 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Use Type instead of const auto and use opaque pointers in tests.

Mar 27 2023, 4:55 AM · Restricted Project, Restricted Project

Mar 20 2023

victor-eds added a comment to D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.

Ping

Mar 20 2023, 2:13 AM · Restricted Project, Restricted Project

Mar 17 2023

victor-eds added a reviewer for D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input: herhut.
Mar 17 2023, 5:05 AM · Restricted Project, Restricted Project

Mar 10 2023

victor-eds requested review of D145802: [mlir][llvm] Allow llvm.resume with non-landingpad input.
Mar 10 2023, 8:52 AM · Restricted Project, Restricted Project

Feb 23 2023

victor-eds committed rG6fa26f60c55d: [mlir][arith] Fold on extension of FP constants using arith.extf (authored by victor-eds).
[mlir][arith] Fold on extension of FP constants using arith.extf
Feb 23 2023, 4:40 AM · Restricted Project, Restricted Project
victor-eds closed D144251: [mlir][arith] Fold on extension of FP constants using arith.extf.
Feb 23 2023, 4:40 AM · Restricted Project, Restricted Project

Feb 20 2023

victor-eds added reviewers for D144251: [mlir][arith] Fold on extension of FP constants using arith.extf: Mogball, ftynse.
Feb 20 2023, 12:43 AM · Restricted Project, Restricted Project

Feb 17 2023

victor-eds requested review of D144251: [mlir][arith] Fold on extension of FP constants using arith.extf.
Feb 17 2023, 2:20 AM · Restricted Project, Restricted Project

Oct 20 2022

victor-eds committed rG70e3f0e10e8c: [mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR (authored by victor-eds).
[mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR
Oct 20 2022, 5:02 AM · Restricted Project, Restricted Project
victor-eds closed D136324: [mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR.
Oct 20 2022, 5:01 AM · Restricted Project, Restricted Project
victor-eds added inline comments to D136324: [mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR.
Oct 20 2022, 3:15 AM · Restricted Project, Restricted Project
victor-eds updated the diff for D136324: [mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR.

Add attribute name to the dialect

Oct 20 2022, 3:14 AM · Restricted Project, Restricted Project
victor-eds requested review of D136324: [mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR.
Oct 20 2022, 2:29 AM · Restricted Project, Restricted Project

Jun 16 2022

victor-eds accepted D127946: [RISCV][NFC][test] Correct a wrong test in vreductions-fp-vp.ll.

LGTM. Totally missed that. Thanks.

Jun 16 2022, 1:50 AM · Restricted Project, Restricted Project

Jan 25 2022

victor-eds committed rG19d3dc6e226c: [VP] Update CodeGen/RISCV/rvv/vpgather-sdnode.ll test (authored by victor-eds).
[VP] Update CodeGen/RISCV/rvv/vpgather-sdnode.ll test
Jan 25 2022, 2:49 AM
victor-eds committed rG2233befa5dc4: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter (authored by victor-eds).
[LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter
Jan 25 2022, 2:08 AM
victor-eds closed D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.
Jan 25 2022, 2:08 AM · Restricted Project
victor-eds updated the summary of D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.
Jan 25 2022, 2:05 AM · Restricted Project

Jan 24 2022

victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Apply suggested changes

Jan 24 2022, 3:20 AM · Restricted Project
victor-eds added a comment to D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Missed that. Thanks. This should handle this behavior change.

Jan 24 2022, 1:38 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Add boolean parameter to split SetCC operand or not

Jan 24 2022, 1:37 AM · Restricted Project

Jan 21 2022

victor-eds added inline comments to D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.
Jan 21 2022, 11:14 AM · Restricted Project
victor-eds added a comment to D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Done

Jan 21 2022, 11:11 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Apply suggested changes

Jan 21 2022, 11:10 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Simplify code

Jan 21 2022, 10:59 AM · Restricted Project
victor-eds added a comment to D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Done

Jan 21 2022, 10:06 AM · Restricted Project
victor-eds added reviewers for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter: frasercrmck, craig.topper, rogfer01, simoll, RKSimon.
Jan 21 2022, 10:04 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Use SplitMask

Jan 21 2022, 9:59 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Add SplitVecOp_Gather tests for VP_GATHER

Jan 21 2022, 9:52 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Rename variable

Jan 21 2022, 9:31 AM · Restricted Project
victor-eds updated the diff for D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.

Share code

Jan 21 2022, 9:28 AM · Restricted Project

Jan 20 2022

victor-eds requested review of D117760: [LegalizeTypes][VP] Add splitting support for vp.gather and vp.scatter.
Jan 20 2022, 2:08 AM · Restricted Project
victor-eds committed rGc10c74887875: [LegalizeTypes][VP] Add widening support for vp.gather and vp.scatter (authored by victor-eds).
[LegalizeTypes][VP] Add widening support for vp.gather and vp.scatter
Jan 20 2022, 12:58 AM
victor-eds closed D117557: [LegalizeTypes][VP] Add widening support for vp.gather and vp.scatter.
Jan 20 2022, 12:58 AM · Restricted Project

Jan 19 2022

victor-eds added reviewers for D117557: [LegalizeTypes][VP] Add widening support for vp.gather and vp.scatter: frasercrmck, simoll, rogfer01, craig.topper, RKSimon.
Jan 19 2022, 7:10 AM · Restricted Project

Jan 18 2022

victor-eds requested review of D117557: [LegalizeTypes][VP] Add widening support for vp.gather and vp.scatter.
Jan 18 2022, 5:16 AM · Restricted Project
victor-eds committed rGb7bf96a25865: [LegalizeTypes][VP] Add widening support for vp.reduce.* (authored by victor-eds).
[LegalizeTypes][VP] Add widening support for vp.reduce.*
Jan 18 2022, 2:21 AM
victor-eds closed D117467: [LegalizeTypes][VP] Add widening support for vp.reduce.*.
Jan 18 2022, 2:21 AM · Restricted Project
victor-eds updated the diff for D117467: [LegalizeTypes][VP] Add widening support for vp.reduce.*.

Update tests

Jan 18 2022, 2:20 AM · Restricted Project
victor-eds committed rGfd1dce35bd59: [LegalizeTypes][VP] Add splitting support for vp.reduction.* (authored by victor-eds).
[LegalizeTypes][VP] Add splitting support for vp.reduction.*
Jan 18 2022, 1:30 AM
victor-eds closed D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.
Jan 18 2022, 1:30 AM · Restricted Project
victor-eds updated the diff for D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.

Add assertions in new function

Jan 18 2022, 12:40 AM · Restricted Project

Jan 17 2022

victor-eds updated the diff for D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.

Update tests

Jan 17 2022, 10:01 AM · Restricted Project
victor-eds added a comment to D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.

Done

Jan 17 2022, 9:37 AM · Restricted Project
victor-eds updated the diff for D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.

Copy SDValue instead of passing reference

Jan 17 2022, 9:37 AM · Restricted Project
victor-eds updated the diff for D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.

Fixing sequential FP reduction issues

Jan 17 2022, 9:34 AM · Restricted Project
victor-eds added reviewers for D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*: frasercrmck, simoll, rogfer01, craig.topper, RKSimon.
Jan 17 2022, 8:01 AM · Restricted Project
victor-eds added reviewers for D117467: [LegalizeTypes][VP] Add widening support for vp.reduce.*: frasercrmck, craig.topper, rogfer01, simoll, RKSimon.
Jan 17 2022, 7:47 AM · Restricted Project
victor-eds requested review of D117469: [LegalizeTypes][VP] Add splitting support for vp.reduction.*.
Jan 17 2022, 5:47 AM · Restricted Project
victor-eds requested review of D117467: [LegalizeTypes][VP] Add widening support for vp.reduce.*.
Jan 17 2022, 4:26 AM · Restricted Project