- User Since
- Apr 5 2019, 5:06 AM (10 w, 4 d)
Fri, Jun 14
This will be put directly into LLVM-IR, as llvm can't inline it otherwise anyways.
This optimization is not really worth it, for the amount of effort needed to implement it.
Thu, Jun 13
fix tests when building tests for ALL architectures
Wed, Jun 12
Tue, Jun 11
Tue, Jun 4
Sun, May 26
Yes, can you revert them. I really am not very skilled with svn.
use saturating multiply
this should use saturating multiplication
Wed, May 22
remove line nikic mentioned
May 19 2019
May 13 2019
I'll get rid of the leftovers.
comment didn't get included.
I am going to drop this as this optimization really belongs in visitGEP, same with the bitmask code in this file.
May 12 2019
The backends seem to be able to handle "illegal types", even if they couldn't before for this.
review. Also update a few more tests.
May 10 2019
May 9 2019
I like that this also optimizes the case where C is a not
There is no documentation specific to the #include directive. https://docs.microsoft.com/en-us/cpp/preprocessor/hash-include-directive-c-cpp?view=vs-2019
May 4 2019
May 2 2019
May 1 2019
It's not the end of the world, but would mean that we would need to know that the shift amount is less that 256 as far as I understand.
It is certainly not safe to do in LLVM-IR, but there has to be some point at which this can be done, and at this point it is still easy to match the pattern (although it does not match the -O0 pattern with an icmp instead of a select).
no longer depends on cttz transform
Apr 30 2019
the old shifting code could create a invalid shl 32/64
there are no problems, as we can just lower fshr down to what I replaced
Apr 29 2019
Yeah sorry. I wanted to use these http://apt.llvm.org/ to sanity check myself. While you can always just use opt directly, using this tool make git diff work.
Apr 28 2019
This transform is deeply flawed, and needs much work. If the default is not reachable, there is no need to limit to countPopulation == 1, only assure that there are no duplicates. If the default _is_ reachable, then countPopulation <= 1 continues to be important, but also ctlz and cttz must be run, except in very specific circumstances (such as utf-8 first character parsing)