taichi icon indicating copy to clipboard operation
taichi copied to clipboard

Remove codegen for demoted operations

Open strongoier opened this issue 2 years ago • 0 comments

There's a mandatory demote_operations pass (https://github.com/taichi-dev/taichi/blob/master/taichi/transforms/demote_operations.cpp) which demotes high-level operations into low-level ones so that there's no need to handle these high-level ones in codegen of different backends. Those legacy codegen should be removed to keep the codebase clean.

  • [x] pow() with an integer exponent
  • [x] floordiv
  • [ ] bit_shr
  • [ ] BitExtractStmt

strongoier avatar Sep 22 '22 06:09 strongoier