| commit | 5cd4eb96f651ef5b6306ef73835a2da59f63c8cc | [log] [tgz] |
|---|---|---|
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | Sun Mar 24 13:36:32 2019 +0000 |
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Sun Mar 24 13:36:32 2019 +0000 |
| tree | 4571dc708f6b7bb3e4b692d2e0d8abfab94a3d01 | |
| parent | 0a5d4b84724395ae0522235db474e2dba4d9f6e4 [diff] |
[SLPVectorizer] shouldReorderOperands - just check for reordering. NFCI. Remove the I.getOperand() calls from inside shouldReorderOperands - reorderInputsAccordingToOpcode should handle the creation of the operand lists and shouldReorderOperands should just check to see whether the i'th element should be commuted. llvm-svn: 356854