[all-commits] [llvm/llvm-project] 28bd47: [LegalizeTypes] Remove WidenVecRes_Shift and just ...
topperc via All-commits
all-commits at lists.llvm.org
Wed Aug 26 09:58:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 28bd47fc47683d35ff08ad2ee2888a5709bbed8d
https://github.com/llvm/llvm-project/commit/28bd47fc47683d35ff08ad2ee2888a5709bbed8d
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-08-26 (Wed, 26 Aug 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Log Message:
-----------
[LegalizeTypes] Remove WidenVecRes_Shift and just use WidenVecRes_Binary
This function seems to allow for the shift amount to have a different type than the result, but I don't think we do that anywhere else for vector shifts. We also don't have any support for legalizing the shift amount alone if the result is legal and the shift amount type isn't. The code coverage report here shows this code as uncovered http://lab.llvm.org:8080/coverage/coverage-reports/coverage/Users/buildslave/jenkins/workspace/coverage/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp.html
Differential Revision: https://reviews.llvm.org/D86475
More information about the All-commits
mailing list