Index: src/IceInst.cpp |
diff --git a/src/IceInst.cpp b/src/IceInst.cpp |
index cfcaad3b1fe8e6185cc485d6c78d3d807001862d..43291ced46fb749a926943f93ddbe1c43d1fcb87 100644 |
--- a/src/IceInst.cpp |
+++ b/src/IceInst.cpp |
@@ -534,7 +534,8 @@ void InstAlloca::dump(const Cfg *Func) const { |
dumpDest(Func); |
Str << " = alloca i8, i32 "; |
getSizeInBytes()->dump(Func); |
- Str << ", align " << getAlignInBytes(); |
+ if (getAlignInBytes()) |
+ Str << ", align " << getAlignInBytes(); |
} |
void InstArithmetic::dump(const Cfg *Func) const { |