Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline

Izaron (Evgeny Shulgin)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 16 2022, 7:14 AM (98 w, 2 d)

Recent Activity

Jul 1 2023

Izaron accepted D152713: [clang-tidy] Correct sizeof/alignas handling in misc-redundant-expression.

LGTM! Thank you for the fix!

Jul 1 2023, 9:19 AM · Restricted Project, Restricted Project

Mar 19 2023

Izaron added a comment to D146393: [Clang] Support free positioning of labels inside compound statements in C.

A big TODO: rename ext_c_label_end_of_compound_statement to something like ext_c_label_free_positioning. Since we found out it is more complete than just the end of statements.

Mar 19 2023, 2:13 PM · Restricted Project, Restricted Project
Izaron requested review of D146393: [Clang] Support free positioning of labels inside compound statements in C.
Mar 19 2023, 2:07 PM · Restricted Project, Restricted Project

Feb 21 2023

Izaron added a comment to D144334: [Clang] Add C++2b attribute [[assume(expression)]].

Just deliberately not support a part of C++2b. Implementers have veto'ed features in the past exactly that way.

Feb 21 2023, 11:54 AM · Restricted Project, Restricted Project
Izaron added a comment to D144334: [Clang] Add C++2b attribute [[assume(expression)]].

I'm on the fence as to whether we want to implement this feature at all. As was discussed extensively during the EWG meetings on this: multiple implementers are against this attribute for a variety of reasons, and at least 1 other implementer has stated they might 'implementer veto' this.

Feb 21 2023, 11:45 AM · Restricted Project, Restricted Project

Feb 18 2023

Izaron added inline comments to D118743: [clang-tidy] Add `modernize-use-inline-const-variables-in-headers` check.
Feb 18 2023, 3:26 PM · Restricted Project, Restricted Project
Izaron updated the diff for D118743: [clang-tidy] Add `modernize-use-inline-const-variables-in-headers` check.

Use the common isInAnonymousNamespace matcher.

Feb 18 2023, 3:25 PM · Restricted Project, Restricted Project
Izaron added a comment to D144334: [Clang] Add C++2b attribute [[assume(expression)]].

If you are not familiar with the [[assume(expr]] concept and want to know more, I wrote a small article about it recently, with a lot of additional links (including to the author of the proposal) - https://izaron.github.io/posts/assume/

Feb 18 2023, 2:04 PM · Restricted Project, Restricted Project
Izaron updated the diff for D144334: [Clang] Add C++2b attribute [[assume(expression)]].

More thorough AST test.

Feb 18 2023, 1:32 PM · Restricted Project, Restricted Project
Izaron added inline comments to D144334: [Clang] Add C++2b attribute [[assume(expression)]].
Feb 18 2023, 1:22 PM · Restricted Project, Restricted Project
Izaron updated the diff for D144334: [Clang] Add C++2b attribute [[assume(expression)]].

A small fix for def FutureAttrs

Feb 18 2023, 1:21 PM · Restricted Project, Restricted Project
Izaron requested review of D144334: [Clang] Add C++2b attribute [[assume(expression)]].
Feb 18 2023, 1:16 PM · Restricted Project, Restricted Project

Jan 1 2023

Izaron added a comment to D118743: [clang-tidy] Add `modernize-use-inline-const-variables-in-headers` check.

I tried this patch and it's really helpful!

You're welcome!

Jan 1 2023, 6:50 PM · Restricted Project, Restricted Project

Nov 25 2022

Izaron added a comment to D138629: [libc++][math.h] Add double overloads.

I'll take __builtin_fmax as an example (but other builtins are fairly similar to it).

Nov 25 2022, 1:54 PM · Restricted Project, Restricted Project

Oct 31 2022

Izaron committed rGcc2cf8b22b35: [libc++] Add test for checking progress on P0533R9 (authored by Izaron).
[libc++] Add test for checking progress on P0533R9
Oct 31 2022, 3:00 PM · Restricted Project, Restricted Project
Izaron closed D136538: [libc++] Add test for checking progress on P0533R9.
Oct 31 2022, 2:59 PM · Restricted Project, Restricted Project
Izaron updated the diff for D136538: [libc++] Add test for checking progress on P0533R9.

Fix GCC tests - some of its functions are already constexpr

Oct 31 2022, 10:41 AM · Restricted Project, Restricted Project

Oct 30 2022

Izaron updated the diff for D136538: [libc++] Add test for checking progress on P0533R9.

Add test for GCC. Thanks to @philnik!

Oct 30 2022, 3:00 PM · Restricted Project, Restricted Project

Oct 27 2022

Izaron added inline comments to D136568: [Clang] Support constexpr builtin ilogb.
Oct 27 2022, 12:56 PM · Restricted Project, Restricted Project, Restricted Project
Izaron added inline comments to D136568: [Clang] Support constexpr builtin ilogb.
Oct 27 2022, 9:32 AM · Restricted Project, Restricted Project, Restricted Project
Izaron updated the diff for D136568: [Clang] Support constexpr builtin ilogb.

Deal with MSVC where sizeof(long double) == sizeof(double)

Oct 27 2022, 3:07 AM · Restricted Project, Restricted Project, Restricted Project

Oct 26 2022

Izaron added inline comments to D136568: [Clang] Support constexpr builtin ilogb.
Oct 26 2022, 3:52 PM · Restricted Project, Restricted Project, Restricted Project
Izaron updated the diff for D136568: [Clang] Support constexpr builtin ilogb.

Add test for min/max value. Fix comment for ilog.

Oct 26 2022, 3:51 PM · Restricted Project, Restricted Project, Restricted Project
Izaron added inline comments to D136568: [Clang] Support constexpr builtin ilogb.
Oct 26 2022, 6:53 AM · Restricted Project, Restricted Project, Restricted Project

Oct 24 2022

Izaron added a comment to D136538: [libc++] Add test for checking progress on P0533R9.

Could you also add a test for GCC and the global namespace versions of the functions?

Does "test for GCC" mean testing how GCC would compile libc++?

Oct 24 2022, 10:42 AM · Restricted Project, Restricted Project
Izaron updated the diff for D136538: [libc++] Add test for checking progress on P0533R9.

Move to constexpr-cxx2b.pass.cpp, fixed issues. Thanks to @philnik!

Oct 24 2022, 10:30 AM · Restricted Project, Restricted Project
Izaron added inline comments to D136538: [libc++] Add test for checking progress on P0533R9.
Oct 24 2022, 10:30 AM · Restricted Project, Restricted Project
Izaron added a comment to D118743: [clang-tidy] Add `modernize-use-inline-const-variables-in-headers` check.

A friendly ping 🙂

Oct 24 2022, 4:21 AM · Restricted Project, Restricted Project

Oct 23 2022

Izaron committed rG2bb50a55b0f5: [clang] Fix time profile in "isIntegerConstantExpr" (authored by Izaron).
[clang] Fix time profile in "isIntegerConstantExpr"
Oct 23 2022, 4:18 PM · Restricted Project, Restricted Project
Izaron closed D136549: [clang] Fix time profile in "isIntegerConstantExpr".
Oct 23 2022, 4:18 PM · Restricted Project, Restricted Project
Izaron added inline comments to D136549: [clang] Fix time profile in "isIntegerConstantExpr".
Oct 23 2022, 4:17 PM · Restricted Project, Restricted Project
Izaron added a comment to D136568: [Clang] Support constexpr builtin ilogb.

This patch is similar to __bultin_fmax: https://reviews.llvm.org/D134369

Oct 23 2022, 3:58 PM · Restricted Project, Restricted Project, Restricted Project
Izaron requested review of D136568: [Clang] Support constexpr builtin ilogb.
Oct 23 2022, 3:52 PM · Restricted Project, Restricted Project, Restricted Project
Izaron updated the summary of D136549: [clang] Fix time profile in "isIntegerConstantExpr".
Oct 23 2022, 4:05 AM · Restricted Project, Restricted Project
Izaron requested review of D136549: [clang] Fix time profile in "isIntegerConstantExpr".
Oct 23 2022, 4:04 AM · Restricted Project, Restricted Project
Izaron committed rGe5032d89e44a: [clang][unittest] Resolve ClangSupportTest link time errors (authored by jmciver).
[clang][unittest] Resolve ClangSupportTest link time errors
Oct 23 2022, 2:55 AM · Restricted Project, Restricted Project
Izaron closed D136546: [clang][unittest] Resolve ClangSupportTest link time errors.
Oct 23 2022, 2:55 AM · Restricted Project, Restricted Project
Izaron accepted D136546: [clang][unittest] Resolve ClangSupportTest link time errors.
Oct 23 2022, 2:51 AM · Restricted Project, Restricted Project
Izaron added a comment to D136546: [clang][unittest] Resolve ClangSupportTest link time errors.

LGTM! I'm sorry that you had to fix CMakeLists.txt. It really "worked on my machine", I was running these commands:

Oct 23 2022, 2:51 AM · Restricted Project, Restricted Project

Oct 22 2022

Izaron added a comment to D136022: [clang] Add time profile for constant evaluation.

Hi @Izaron, several of our internal tests that run tests using -ftime-trace started crashing when run which I bisected back to your change. I have filed issue #58551 for it, can you take a look?

Oct 22 2022, 7:15 PM · Restricted Project, Restricted Project
Izaron updated the diff for D136538: [libc++] Add test for checking progress on P0533R9.

Get rid of hexfloat, because hexfloat<long double> not working on test machines.

Oct 22 2022, 3:49 PM · Restricted Project, Restricted Project
Izaron retitled D136538: [libc++] Add test for checking progress on P0533R9 from [libcxx] Add test for checking progress on P0533R9 to [libc++] Add test for checking progress on P0533R9.
Oct 22 2022, 3:21 PM · Restricted Project, Restricted Project
Izaron updated the diff for D136538: [libc++] Add test for checking progress on P0533R9.

Get rid of C++ earlier that C++2b.
Get rid of GNU compiler.

Oct 22 2022, 2:24 PM · Restricted Project, Restricted Project
Izaron added a comment to D136538: [libc++] Add test for checking progress on P0533R9.

This is a part of our work on implementing p0533r9:
https://discourse.llvm.org/t/how-do-we-plan-to-make-constexpr-cmath-and-cstdlib/65930

Oct 22 2022, 1:41 PM · Restricted Project, Restricted Project
Izaron requested review of D136538: [libc++] Add test for checking progress on P0533R9.
Oct 22 2022, 1:24 PM · Restricted Project, Restricted Project

Oct 21 2022

Izaron added inline comments to D136022: [clang] Add time profile for constant evaluation.
Oct 21 2022, 5:29 PM · Restricted Project, Restricted Project
Izaron committed rG27d8eedd5a3c: [clang] Add time profile for constant evaluation (authored by Izaron).
[clang] Add time profile for constant evaluation
Oct 21 2022, 4:25 PM · Restricted Project, Restricted Project
Izaron closed D136022: [clang] Add time profile for constant evaluation.
Oct 21 2022, 4:25 PM · Restricted Project, Restricted Project
Izaron updated the diff for D136022: [clang] Add time profile for constant evaluation.

Mention this in the release notes. Thanks to Aaron for reviewing!

Oct 21 2022, 2:32 PM · Restricted Project, Restricted Project
Izaron committed rG5b567637e22b: [Clang] Add __has_constexpr_builtin support (authored by Izaron).
[Clang] Add __has_constexpr_builtin support
Oct 21 2022, 4:23 AM · Restricted Project, Restricted Project
Izaron closed D136036: [Clang] Add __has_constexpr_builtin support.
Oct 21 2022, 4:23 AM · Restricted Project, Restricted Project

Oct 20 2022

Izaron added inline comments to D136022: [clang] Add time profile for constant evaluation.
Oct 20 2022, 11:19 AM · Restricted Project, Restricted Project
Izaron updated the diff for D136022: [clang] Add time profile for constant evaluation.

Fix optionals with value_or

Oct 20 2022, 3:59 AM · Restricted Project, Restricted Project

Oct 19 2022

Izaron updated the diff for D136022: [clang] Add time profile for constant evaluation.

Fix CMakeLists.txt

Oct 19 2022, 6:16 PM · Restricted Project, Restricted Project
Izaron added a comment to D136022: [clang] Add time profile for constant evaluation.

The test doesn't cover exactly all new traces though. For example I couldn't write a code that runs into the EvaluateAsInt method 🤔

Oct 19 2022, 6:14 PM · Restricted Project, Restricted Project
Izaron added a comment to D136022: [clang] Add time profile for constant evaluation.

I'd like to see some tests through before I approve.

Oct 19 2022, 6:11 PM · Restricted Project, Restricted Project
Izaron updated the diff for D136022: [clang] Add time profile for constant evaluation.

Add time profiler test.

Oct 19 2022, 6:07 PM · Restricted Project, Restricted Project

Oct 17 2022

Izaron added a comment to D136036: [Clang] Add __has_constexpr_builtin support.

It looks like unrelated formatting changes snuck in to this file.

Oct 17 2022, 3:50 PM · Restricted Project, Restricted Project
Izaron added inline comments to D136036: [Clang] Add __has_constexpr_builtin support.
Oct 17 2022, 2:16 PM · Restricted Project, Restricted Project
Izaron added inline comments to D136036: [Clang] Add __has_constexpr_builtin support.
Oct 17 2022, 2:12 PM · Restricted Project, Restricted Project
Izaron added a comment to D136036: [Clang] Add __has_constexpr_builtin support.

Can you also add documentation and a release note for the new feature testing macro?

Oct 17 2022, 2:08 PM · Restricted Project, Restricted Project
Izaron added inline comments to D136036: [Clang] Add __has_constexpr_builtin support.
Oct 17 2022, 2:08 PM · Restricted Project, Restricted Project
Izaron updated the diff for D136036: [Clang] Add __has_constexpr_builtin support.

Add more parsing tests. Fix unrelated formatting changes. Add release notes and docs.

Oct 17 2022, 2:07 PM · Restricted Project, Restricted Project

Oct 16 2022

Izaron updated the diff for D136036: [Clang] Add __has_constexpr_builtin support.

Changed llvm_unreachable to just return false. I thought it is more secure.

Oct 16 2022, 7:16 AM · Restricted Project, Restricted Project
Izaron retitled D136036: [Clang] Add __has_constexpr_builtin support from [Clang] Add __has_builtin_constexpr support to [Clang] Add __has_constexpr_builtin support.
Oct 16 2022, 4:47 AM · Restricted Project, Restricted Project
Izaron updated the diff for D136036: [Clang] Add __has_constexpr_builtin support.

Slightly changed the test.

Oct 16 2022, 4:46 AM · Restricted Project, Restricted Project
Izaron added a comment to D136036: [Clang] Add __has_constexpr_builtin support.

A builtin is considered "constexpr" if it has E in its attributes in Builtins.def.

Oct 16 2022, 4:42 AM · Restricted Project, Restricted Project
Izaron requested review of D136036: [Clang] Add __has_constexpr_builtin support.
Oct 16 2022, 4:34 AM · Restricted Project, Restricted Project

Oct 15 2022

Izaron added a comment to D136022: [clang] Add time profile for constant evaluation.

We can use this file as an example: ConstProfiler.cpp https://reviews.llvm.org/P8296
The code does a really big constant evaluation.

Oct 15 2022, 10:32 AM · Restricted Project, Restricted Project
Izaron requested review of D136022: [clang] Add time profile for constant evaluation.
Oct 15 2022, 10:25 AM · Restricted Project, Restricted Project

Oct 13 2022

Izaron retitled D135822: [clang-tidy] Add option `RewriteVoidReturnType` to `modernize-use-trailing-return-type` from [clang-tidy] Add option `IgnoreVoidReturnType` to `modernize-use-trailing-return-type` to [clang-tidy] Add option `RewriteVoidReturnType` to `modernize-use-trailing-return-type`.
Oct 13 2022, 1:42 PM · Restricted Project, Restricted Project
Izaron updated the diff for D135822: [clang-tidy] Add option `RewriteVoidReturnType` to `modernize-use-trailing-return-type`.

Change IgnoreVoidReturnType to RewriteVoidReturn type.
Check the cheaper condition first.

Oct 13 2022, 1:42 PM · Restricted Project, Restricted Project

Oct 12 2022

Izaron added inline comments to D135822: [clang-tidy] Add option `RewriteVoidReturnType` to `modernize-use-trailing-return-type`.
Oct 12 2022, 3:55 PM · Restricted Project, Restricted Project
Izaron requested review of D135822: [clang-tidy] Add option `RewriteVoidReturnType` to `modernize-use-trailing-return-type`.
Oct 12 2022, 3:53 PM · Restricted Project, Restricted Project

Oct 10 2022

Izaron updated the diff for D118743: [clang-tidy] Add `modernize-use-inline-const-variables-in-headers` check.

Removed excessive newline.

Oct 10 2022, 4:28 PM · Restricted Project, Restricted Project
Izaron updated the diff for D118743: [clang-tidy] Add `modernize-use-inline-const-variables-in-headers` check.

Rebased onto main (after a long long time).

Oct 10 2022, 4:17 PM · Restricted Project, Restricted Project
Izaron committed rGec3238640440: [Clang] Support constexpr builtin fmin (authored by Izaron).
[Clang] Support constexpr builtin fmin
Oct 10 2022, 9:07 AM · Restricted Project, Restricted Project
Izaron closed D135493: [Clang] Support constexpr builtin fmin.
Oct 10 2022, 9:06 AM · Restricted Project, Restricted Project

Oct 8 2022

Izaron committed rGa8fbd1157deb: [clang-tidy] Ignore concepts in `misc-redundant-expression` (authored by Izaron).
[clang-tidy] Ignore concepts in `misc-redundant-expression`
Oct 8 2022, 3:37 AM · Restricted Project, Restricted Project
Izaron closed D122078: [clang-tidy] Ignore concepts in `misc-redundant-expression`.
Oct 8 2022, 3:37 AM · Restricted Project, Restricted Project
Izaron updated the diff for D122078: [clang-tidy] Ignore concepts in `misc-redundant-expression`.

Removed redundant comment

Oct 8 2022, 2:47 AM · Restricted Project, Restricted Project

Oct 7 2022

Izaron added a comment to D122078: [clang-tidy] Ignore concepts in `misc-redundant-expression`.

Hi! A friendly ping =)

Oct 7 2022, 2:53 PM · Restricted Project, Restricted Project
Izaron updated the diff for D135493: [Clang] Support constexpr builtin fmin.

Aligned slashes in defines

Oct 7 2022, 2:50 PM · Restricted Project, Restricted Project
Izaron added a comment to D135493: [Clang] Support constexpr builtin fmin.

This is a mirror of my previous patch about builtin max. I promised to make the patch for builtin min =) Here: https://reviews.llvm.org/D134369#3806131

Oct 7 2022, 2:48 PM · Restricted Project, Restricted Project
Izaron requested review of D135493: [Clang] Support constexpr builtin fmin.
Oct 7 2022, 2:47 PM · Restricted Project, Restricted Project
Izaron committed rGc585a44651f4: [Clang] Use C++17 in constant-builtins-fmax.cpp test (authored by Izaron).
[Clang] Use C++17 in constant-builtins-fmax.cpp test
Oct 7 2022, 2:32 PM · Restricted Project, Restricted Project
Izaron closed D135486: [Clang] Use C++17 in constant-builtins-fmax.cpp test.
Oct 7 2022, 2:32 PM · Restricted Project, Restricted Project
Izaron added a comment to D135486: [Clang] Use C++17 in constant-builtins-fmax.cpp test.

Thanks, will land the patch after Build 288902: pre-merge checks is passed =)

Oct 7 2022, 2:09 PM · Restricted Project, Restricted Project
Izaron added inline comments to D135476: [clang-tidy] Support concepts in `bugprone-forwarding-reference-overload`.
Oct 7 2022, 2:01 PM · Restricted Project, Restricted Project
Izaron updated the diff for D135476: [clang-tidy] Support concepts in `bugprone-forwarding-reference-overload`.

Follow 80 characters limit. Thanks to @Eugene.Zelenko!

Oct 7 2022, 2:01 PM · Restricted Project, Restricted Project
Izaron added a comment to D134369: [Clang] Support constexpr builtin fmax.

You might need to explicitly specify -std=c++17 in the RUN line. (That bot has a different target triple, and I think with that triple the default C++ standard isn't C++17?)

Oct 7 2022, 1:57 PM · Restricted Project, Restricted Project
Izaron added a comment to D135486: [Clang] Use C++17 in constant-builtins-fmax.cpp test.

ASAP fix from previous review request, see comment: https://reviews.llvm.org/D134369#3843824

Oct 7 2022, 1:56 PM · Restricted Project, Restricted Project
Izaron requested review of D135486: [Clang] Use C++17 in constant-builtins-fmax.cpp test.
Oct 7 2022, 1:55 PM · Restricted Project, Restricted Project
Izaron added a comment to D134369: [Clang] Support constexpr builtin fmax.

I've got an email about "Buildbot failure" with this link: https://lab.llvm.org/buildbot/#/builders/216/builds/10955

Line 51: 'static_assert' with no message is a C++17 extension

Why is it failing if pre-merge checks has been passed? =(

Oct 7 2022, 1:43 PM · Restricted Project, Restricted Project
Izaron committed rG0edff6faa266: [Clang] Support constexpr builtin fmax (authored by Izaron).
[Clang] Support constexpr builtin fmax
Oct 7 2022, 1:28 PM · Restricted Project, Restricted Project
Izaron closed D134369: [Clang] Support constexpr builtin fmax.
Oct 7 2022, 1:27 PM · Restricted Project, Restricted Project
Izaron updated the diff for D134369: [Clang] Support constexpr builtin fmax.

Add TODO comment about sNaN. Thanks to @jcranmer-intel!

Oct 7 2022, 12:08 PM · Restricted Project, Restricted Project
Izaron updated the diff for D135476: [clang-tidy] Support concepts in `bugprone-forwarding-reference-overload`.

Fixes https://github.com/llvm/llvm-project/issues/58230

Oct 7 2022, 12:03 PM · Restricted Project, Restricted Project
Izaron requested review of D135476: [clang-tidy] Support concepts in `bugprone-forwarding-reference-overload`.
Oct 7 2022, 12:01 PM · Restricted Project, Restricted Project

Oct 4 2022

Izaron updated the diff for D134369: [Clang] Support constexpr builtin fmax.

Fix comment wording.

Oct 4 2022, 11:50 AM · Restricted Project, Restricted Project