@@ -2102,10 +2102,10 @@ void check_unreachable() {
2102
2102
check(IfThenElse::make(x != 0, Evaluate::make(unreachable()), not_no_op(y)),
2103
2103
not_no_op(y));
2104
2104
2105
- check (y + Call::make (Int (32 ), Call::if_then_else, {x != 0 , unreachable (), unreachable ()}, Call::Intrinsic ),
2105
+ check(y + Call::make(Int(32), Call::if_then_else, {x != 0, unreachable(), unreachable()}, Call::PureIntrinsic ),
2106
2106
unreachable());
2107
- check (Call::make (Int (32 ), Call::if_then_else, {x != 0 , y, unreachable ()}, Call::Intrinsic ), y);
2108
- check (Call::make (Int (32 ), Call::if_then_else, {x != 0 , unreachable (), y}, Call::Intrinsic ), y);
2107
+ check(Call::make(Int(32), Call::if_then_else, {x != 0, y, unreachable()}, Call::PureIntrinsic ), y);
2108
+ check(Call::make(Int(32), Call::if_then_else, {x != 0, unreachable(), y}, Call::PureIntrinsic ), y);
2109
2109
2110
2110
check(Block::make(not_no_op(y), For::make("i", 0, 1, ForType::Serial, DeviceAPI::None, Evaluate::make(unreachable()))),
2111
2111
Evaluate::make(unreachable()));
@@ -2130,11 +2130,11 @@ int main(int argc, char **argv) {
2130
2130
Expr x = Var("x"), y = Var("y");
2131
2131
2132
2132
// Check that constant args to a stringify get combined
2133
- check (Call::make (type_of<const char *>(), Call::stringify, {3 , std::string (" " ), 4 }, Call::Intrinsic ),
2133
+ check(Call::make(type_of<const char *>(), Call::stringify, {3, std::string(" "), 4}, Call::PureIntrinsic ),
2134
2134
std::string("3 4"));
2135
2135
2136
- check (Call::make (type_of<const char *>(), Call::stringify, {3 , x, 4 , std::string (" , " ), 3 .4f }, Call::Intrinsic ),
2137
- Call::make (type_of<const char *>(), Call::stringify, {std::string (" 3" ), x, std::string (" 4, 3.400000" )}, Call::Intrinsic ));
2136
+ check(Call::make(type_of<const char *>(), Call::stringify, {3, x, 4, std::string(", "), 3.4f}, Call::PureIntrinsic ),
2137
+ Call::make(type_of<const char *>(), Call::stringify, {std::string("3"), x, std::string("4, 3.400000")}, Call::PureIntrinsic ));
2138
2138
2139
2139
{
2140
2140
// Check that contiguous prefetch call get collapsed
0 commit comments