mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-05 01:56:16 +00:00
don't rely on ADL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d3988f408
commit
82dcb4fe23
@ -484,7 +484,7 @@ void SelectionDAGLegalize::HandleOp(SDOperand Op) {
|
||||
unsigned NumElements =
|
||||
cast<ConstantSDNode>(N->getOperand(NumOps-2))->getValue();
|
||||
MVT::ValueType EVT = cast<VTSDNode>(N->getOperand(NumOps-1))->getVT();
|
||||
MVT::ValueType PackedVT = getVectorType(EVT, NumElements);
|
||||
MVT::ValueType PackedVT = MVT::getVectorType(EVT, NumElements);
|
||||
if (PackedVT != MVT::Other && TLI.isTypeLegal(PackedVT)) {
|
||||
// In the common case, this is a legal vector type, convert it to the
|
||||
// packed operation and type now.
|
||||
|
Loading…
x
Reference in New Issue
Block a user