Displaying 2 results from an estimated 2 matches for "_ipkhb".
2020 Apr 05
3
Branch is not optimized because of right shift
...e.
Note that both versions are from clang with -O2. The first is with version
9.0 and the second is with the trunk.
> but in the branch only %0 is used. Sinking the lshr too early made the
analysis harder.
Yes, exactly! That's what I figured too.
> The version in https://godbolt.org/z/_ipKhb is probably the easiest for
analysis (basically the original C source code built with `clang -O0 -S
-emit-llvm`, followed by running `opt -mem2reg`). There’s a patch under
review that adds support for conditional range propagation (
https://reviews.llvm.org/D76611) and with the patch it can be sim...
2020 Apr 05
2
Branch is not optimized because of right shift
Hi John,
I hadn't seen alive2, amazing program, thank you! Keep up the good work.
> I'm not sure that I've captured what you mean here
To be more specific for everyone:
- First of all, I hope it's clear that in the original (C) code, the region
- 0x8 > 1000 branch should
be eliminated. That is because it is inside a block that has ensured that 8
< region < 12. But