[midend-LoopAnalysis]修复循环规范遍bug,修正部分打印格式,
This commit is contained in:
@@ -762,7 +762,7 @@ void BinaryInst::print(std::ostream &os) const {
|
||||
printOperand(os, getLhs());
|
||||
os << ", ";
|
||||
printOperand(os, getRhs());
|
||||
os << "\n ";
|
||||
os << "\n ";
|
||||
printVarName(os, this) << " = zext i1 %" << tmpName << " to i32";
|
||||
} else if (kind == kFCmpEQ || kind == kFCmpNE || kind == kFCmpLT ||
|
||||
kind == kFCmpGT || kind == kFCmpLE || kind == kFCmpGE) {
|
||||
@@ -777,7 +777,7 @@ void BinaryInst::print(std::ostream &os) const {
|
||||
printOperand(os, getLhs());
|
||||
os << ", ";
|
||||
printOperand(os, getRhs());
|
||||
os << "\n ";
|
||||
os << "\n ";
|
||||
printVarName(os, this) << " = zext i1 %" << tmpName << " to i32";
|
||||
} else {
|
||||
// 算术和逻辑指令
|
||||
|
||||
Reference in New Issue
Block a user