[mlir][Inliner] Don't optimize callees in async mode if there is only one to optimize
authorRiver Riddle <riddleriver@gmail.com>
Wed, 24 Feb 2021 02:43:55 +0000 (18:43 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Wed, 24 Feb 2021 02:44:09 +0000 (18:44 -0800)
commit59f0e4627a5e8789c9ab997cd13f96600848fea8
tree5c2d6cd715d9214c4934b59af633beb56c972807
parentbe5d92e37e4fe0b7ba2f5658fa828c1c39988374
[mlir][Inliner] Don't optimize callees in async mode if there is only one to optimize

This avoids unnecessary async overhead in situations that won't benefit from it.
mlir/lib/Transforms/Inliner.cpp