[nnc] Updated IRMutator and IRSimplifier to perform in-place mutations. (#63246)
authorRaghavan Raman <raghavanr@fb.com>
Mon, 16 Aug 2021 07:07:51 +0000 (00:07 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 16 Aug 2021 07:09:22 +0000 (00:09 -0700)
commite50e8b07d8e0f3c331b93a8eff2592f971dce8fd
tree24ad0dd3e73fd19c47d96a8df21aa3d348cf4c8e
parenta421cba325bd816e8b6f40b8823533819124ab71
[nnc] Updated IRMutator and IRSimplifier to perform in-place mutations. (#63246)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63246

Test Plan: Imported from OSS

Reviewed By: ZolotukhinM

Differential Revision: D30309636

Pulled By: navahgar

fbshipit-source-id: 409ea8d6982888cfee9127e6248044dd2ed9d8d4
12 files changed:
test/cpp/tensorexpr/test_loopnest.cpp
torch/csrc/jit/tensorexpr/bounds_overlap.cpp
torch/csrc/jit/tensorexpr/eval.h
torch/csrc/jit/tensorexpr/expr.h
torch/csrc/jit/tensorexpr/half_support.h
torch/csrc/jit/tensorexpr/ir.h
torch/csrc/jit/tensorexpr/ir_cloner.cpp
torch/csrc/jit/tensorexpr/ir_mutator.cpp
torch/csrc/jit/tensorexpr/ir_simplifier.cpp
torch/csrc/jit/tensorexpr/loopnest.cpp
torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp
torch/csrc/jit/tensorexpr/stmt.h