forked from OSchip/llvm-project
[SVE][SelectionDAG] Fix dumping of EVTs to use correct API for element count.
This makes "-debug" output for SVE SelectionDAG readable.
This commit is contained in:
parent
b8fc192d42
commit
cf36f9855a
|
@ -139,7 +139,8 @@ std::string EVT::getEVTString() const {
|
|||
switch (V.SimpleTy) {
|
||||
default:
|
||||
if (isVector())
|
||||
return (isScalableVector() ? "nxv" : "v") + utostr(getVectorNumElements())
|
||||
return (isScalableVector() ? "nxv" : "v")
|
||||
+ utostr(getVectorElementCount().Min)
|
||||
+ getVectorElementType().getEVTString();
|
||||
if (isInteger())
|
||||
return "i" + utostr(getSizeInBits());
|
||||
|
|
Loading…
Reference in New Issue