summaryrefslogtreecommitdiff
path: root/src/passes
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes')
-rw-r--r--src/passes/Print.cpp2
-rw-r--r--src/passes/RemoveUnusedBrs.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index d03201f1a..f35f0d626 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -66,7 +66,7 @@ struct SExprType {
static std::ostream& operator<<(std::ostream& o, const SExprType& localType) {
Type type = localType.type;
- if (type.isMulti()) {
+ if (type.isTuple()) {
o << '(';
auto sep = "";
for (const auto& t : type) {
diff --git a/src/passes/RemoveUnusedBrs.cpp b/src/passes/RemoveUnusedBrs.cpp
index 9d4575bb7..2238e9e95 100644
--- a/src/passes/RemoveUnusedBrs.cpp
+++ b/src/passes/RemoveUnusedBrs.cpp
@@ -319,7 +319,7 @@ struct RemoveUnusedBrs : public WalkerPass<PostWalker<RemoveUnusedBrs>> {
// be further optimizable, and if select does not branch we also
// avoid one branch.
// Multivalue selects are not supported
- if (br->value && br->value->type.isMulti()) {
+ if (br->value && br->value->type.isTuple()) {
return;
}
// If running the br's condition unconditionally is too expensive,