User Details
- User Since
- Dec 3 2021, 2:13 AM (94 w, 5 d)
Mon, Sep 18
update the test case.
- check address order with llvm-nm --numeric-sort;
- check the message of fail to patch entries;
- add comment
Thu, Sep 14
Merged into test case bolt/test/AArch64/reloc-call26.s
Thu, Aug 31
LGTM, thanks for continuing this work.
Wed, Aug 30
Feb 15 2023
gentle ping ...
Jan 31 2023
Another way to avoid this mismatch is to set such blocks as 'Reachable' in CFIFixup, but it looks a bit different from the 'Unreachable block' case in CFIFixup to me and I think we still need a restore_state in the empty block. Any idea?
Nov 17 2022
Nov 16 2022
remove the incorrect description.
Nov 9 2022
update the patch according to suggestions.
update the test case. This test case is generated after basic-block-sections pass and the name mapping between the basic block(bb.2.entry (align 256, bbsections 2)) and the label name(test.__part.2) from the assembly can be clearer in this way.
Nov 7 2022
Hi @rahmanl, Sorry for the delay. I did not find any countercase for just checking the last terminator, and I spent some time investigating a pattern:
update according to comments
Oct 20 2022
Hi @rahmanl, I tested with -O2, and the redundant branch can be removed by machine code sinking pass.
Oct 19 2022
simplify code
Sep 27 2022
Sep 5 2022
Sep 1 2022
Aug 2 2022
Sounds fine. I tend to accept this patch since it is a stepping stone for the patch series, and we can revisit the constant expression case later after all patches merged.
Jul 25 2022
Jul 11 2022
tryToReplaceWithConstant method in SCCP does not update the lattice value map at SCCPSolver, and it might lead to a problem that
The reason why test cases crash at Solver.getLatticeValueFor is that SCCPSolver does not track the lattice value of a callbase argument. However, it is doable for SCCPSolver to track the lattice value of a ConstantExpr, and that is why I think skipping ConstantExpr is not an sound solution.
Jun 1 2022
May 25 2022
Thanks for the info and feedback. I have updated the diff file.