commit | badf51784f6021b925f01a34d1e3230d6ff71211 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Sep 04 19:06:46 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Sep 04 19:06:46 2018 +0000 |
tree | a893a02595b928d4b0400f5a3e6dbccc582c2ff9 | |
parent | 49cbe528e3909f606b6d1fb5b251896633e0af27 [diff] |
[InstCombine] improve xor+and/or tests The tests attempted to check for commuted variants of these folds, but complexity-based canonicalization meant we had no coverage for at least 1/2 of the cases. Also, the folds correctly check hasOneUse(), but there was no coverage for that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341394 91177308-0d34-0410-b5e6-96231b3b80d8