diff options
author | Craig Topper <craig.topper@intel.com> | 2018-11-29 19:36:17 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-11-29 19:36:17 +0000 |
commit | 129d529ab3e9ce9841b36541ecbf127a89248cfc (patch) | |
tree | 170c35ad1642376241d5924b969a79c95d21571e /libcxx/docs | |
parent | 57cf0c5b4c165621b31a82950b10061da3bcb40c (diff) | |
download | bcm5719-llvm-129d529ab3e9ce9841b36541ecbf127a89248cfc.tar.gz bcm5719-llvm-129d529ab3e9ce9841b36541ecbf127a89248cfc.zip |
[SelectionDAG][AArch64][X86] Move legalization of vector MULHS/MULHU from LegalizeDAG to LegalizeVectorOps
I believe we should be legalizing these with the rest of vector binary operations. If any custom lowering is required for these nodes, this will give the DAG combine between LegalizeVectorOps and LegalizeDAG to run on the custom code before constant build_vectors are lowered in LegalizeDAG.
I've moved MULHU/MULHS handling in AArch64 from Lowering to isel. Moving the lowering earlier caused build_vector+extract_subvector simplifications to kick in which made the generated code worse.
Differential Revision: https://reviews.llvm.org/D54276
llvm-svn: 347902
Diffstat (limited to 'libcxx/docs')
0 files changed, 0 insertions, 0 deletions