mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +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…
Reference in New Issue
Block a user