summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/widen_bitops-0.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombiner] Fold xor/and/or (bitcast(A), bitcast(B)) -> bitcast(op (A,B)) ↵Simon Pilgrim2016-04-111-1185/+78
| | | | | | | | | | | | | | anytime before LegalizeVectorOprs xor/and/or (bitcast(A), bitcast(B)) -> bitcast(op (A,B)) was only being combined at the AfterLegalizeTypes stage, this patch permits the combine to occur anytime before then as well. The main aim with this to improve the ability to recognise bitmasks that can be converted to shuffles. I had to modify a number of AVX512 mask tests as the basic bitcast to/from scalar pattern was being stripped out, preventing testing of the mmask bitops. By replacing the bitcasts with loads we can get almost the same result. Differential Revision: http://reviews.llvm.org/D18944 llvm-svn: 265998
* [X86] Added extra widening tests for and/xor/or bit operationsSimon Pilgrim2016-04-111-0/+733
| | | | | | To make sure we're dealing with both cases of legal/illegal number of vector elements and legal/illegal vector element types llvm-svn: 265929
* [X86] Added widening tests for and/xor/or bit operationsSimon Pilgrim2016-04-111-0/+663
Part of additional tests requested for D18944 llvm-svn: 265925
OpenPOWER on IntegriCloud