- User Since
- Aug 3 2014, 10:19 PM (259 w, 1 d)
Sep 25 2014
Line 9800 can't be moved up to maximize horizontal space and reduce vertical space, because clang-formate does not allow this. When it is moved up, it will be moved down after executing "git clang-formate" command.
Sep 23 2014
Sep 9 2014
Actually, getConstant has been provided to build a BuildVector Node.
Sep 2 2014
Yes, it is more useful as a generic getConstantSplat(all of the elements of the vector are the same) function in SelectionDAG. But it may not be used frequently as getConstant function. If we want to present a bunch of APIs to generate const splat, more work is needed. For example, we should consider whether the data type is integer or float point. In SelectionDAG, there are 3 getConstant and 3 getConstantFP, thus 6 getConstantSplat functions should be added.
Aug 31 2014
Aug 26 2014
Aug 21 2014
Comments about fundamental property are added in the patch.
Aug 18 2014
Aug 7 2014
I have converted all of the CmpValue to 0 or 1, and also added assertion in optimizeCompare. For that our daily performance test have broken down for a long time, please review it ASAP. Thank you!
Aug 6 2014
Yes, This patch changes the meaning of CmpValue. It may not be the best way to solve this problem, but it has no effect on the other compare instructions and other backends comparing to the way of changing the interface of the function. And appropriate comments are added in optimizeCompare.
Test case is added in the new patch. Without the patch, an ANDS instruction will be deleted when doing peephole optimization.