mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[Hexagon] Forgot about HexagonISD::VZERO in selecting const vectors
llvm-svn: 324244
This commit is contained in:
parent
e519378660
commit
24456c87b2
@ -926,7 +926,7 @@ bool HvxSelector::selectVectorConstants(SDNode *N) {
|
|||||||
if (N->isMachineOpcode())
|
if (N->isMachineOpcode())
|
||||||
return false;
|
return false;
|
||||||
unsigned Opc = N->getOpcode();
|
unsigned Opc = N->getOpcode();
|
||||||
if (Opc == HexagonISD::VSPLAT)
|
if (Opc == HexagonISD::VSPLAT || Opc == HexagonISD::VZERO)
|
||||||
return true;
|
return true;
|
||||||
if (Opc == ISD::BITCAST) {
|
if (Opc == ISD::BITCAST) {
|
||||||
// Only select bitcasts of VSPLATs.
|
// Only select bitcasts of VSPLATs.
|
||||||
|
Loading…
Reference in New Issue
Block a user