summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2019-02-14 10:54:50 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 16:27:40 -0700
commiteb3f8dcb935259db192be01587907ab47b35d199 (patch)
tree0a4a1e4567875206ee5118174e646b203dfdff42 /mlir/lib/Transforms/LoopTiling.cpp
parentf2c93f09956ce30e9670ca18d27dc13b76306552 (diff)
downloadbcm5719-llvm-eb3f8dcb935259db192be01587907ab47b35d199.tar.gz
bcm5719-llvm-eb3f8dcb935259db192be01587907ab47b35d199.zip
[TableGen] Use deduced result types for build() of suitable ops
For ops with the SameOperandsAndResultType trait, we know that all result types should be the same as the first operand's type. So we can generate a build() method without requiring result types as parameters and also invoke this method when constructing such ops during expanding rewrite patterns. Similarly for ops have broadcast behavior, we can define build() method to use the deduced type as the result type. So we can also calling into this build() method when constructing ops in RewriterGen. PiperOrigin-RevId: 233988307
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud