commit | 5933b2471c893f18aea992ba75c9b19ca80db6d5 | [log] [tgz] |
---|---|---|
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Tue Nov 07 17:05:54 2017 +0000 |
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Tue Nov 07 17:05:54 2017 +0000 |
tree | 61d786ade7a4356ce8fb2bd4c5b4f2bf59320d0b | |
parent | 99835246622eb5857f82b6d6298af7485fa4f3d6 [diff] |
[Hexagon] Make a test more flexible in HexagonLoopIdiomRecognition An "or" that sets the sign-bit can be replaced with a "xor", if the sign-bit was known to be clear before. With some changes to instruction combining, the simple sign-bit check was failing. Replace it with a more flexible one to catch more cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317592 91177308-0d34-0410-b5e6-96231b3b80d8