mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[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
0e6a1c8716
commit
e2e7135db3
@ -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…
x
Reference in New Issue
Block a user