User Details
- User Since
- Oct 11 2021, 6:12 AM (101 w, 6 d)
Jun 2 2022
LGTM!
Apr 25 2022
Sorry, currently I don't have the bandwidth to push this forward due to the university assignments. If someone's interested in taking this over, you can do so.
Apr 4 2022
Apr 3 2022
Sync with main branch
Apr 2 2022
I pre-committed tests but immediately reverted as I noticed I forgot to rerun update_test_checks.py to make them baseline tests.
Let me take some time to confirm that the revert commit (rGf65c78a0949023bb0f3051cdaea7758e48420978) made CI pass.
Update negative tests
Apr 1 2022
Address code reviews
Oops, sorry I actually got the email but was hidden under a bunch of others.
Let me quickly address some of your reviews, and address all of them tomorrow morning.
Mar 31 2022
- Move change and its test to InstSimplify
Mar 30 2022
Proof (This is first time writing proof in English, so sorry for any inconveniences)
Suppose X: i32
- For 0 < N <= 32
- ctpop(X) == N --> X > 0.
- Hence (ctpop(X) == N) || (X != 0) --> X > 0 || X != 0.
- Intuitively X > 0 || X != 0 --> X != 0.
- For 32 < N (This case is already optimized anyway)
- ctpop(X) == N is always false, because of the semantics of ctpop().
- Hence (ctpop(X) == N) || (X != 0) --> false || X != 0 --> X != 0.
Mar 29 2022
@spatel Since I don't have commit access, can you land this patch?
Please use "Hirochika Matsumoto <git@hkmatsumoto.com>" as my identity.
Create ctpop(X) > 1 instead of ctpop(X) >= 2
Sync with main branch
Mar 26 2022
Reflect code reviews
- Move all added tests to ispow2.ll from icmp-or.ll since now that they contain tests for "and" operand
Mar 23 2022
Reflect code reviews
Mar 21 2022
Since I don't have commit access, can you land this patch for me?
Mar 20 2022
Remove trailing space as well
Ping
Address code review, removing "but this could reduce" from comment
Address code reviews