Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid redundant scope lookups #8103

Merged
merged 5 commits into from
Feb 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix accidental Scope::get
  • Loading branch information
abadams committed Feb 20, 2024
commit 8d59c7ccfdc0a22fe10eedfe865ff0db716d31b8
2 changes: 1 addition & 1 deletion src/CodeGen_X86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ void CodeGen_X86::visit(const Load *op) {

void CodeGen_X86::visit(const Store *op) {
if (const auto *mt = mem_type.find(op->name)) {
if (mem_type.get(op->name) == MemoryType::AMXTile) {
if (*mt == MemoryType::AMXTile) {
Value *val = codegen(op->value);
Halide::Type value_type = op->value.type();
const Ramp *ramp = op->index.as<Ramp>();
Expand Down
Loading