summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
diff options
context:
space:
mode:
authorDiego Caballero <diego.caballero@intel.com>2019-08-20 10:43:45 -0700
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-08-20 10:44:18 -0700
commit9e6cf0d0258aa79b759db9c68a447071ab6ee4ab (patch)
tree1eaf2d924b2d28a530149fc60b31f04da5955bb7 /mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
parent3d32ca97767c28b508711b382c91153c64b2a807 (diff)
downloadbcm5719-llvm-9e6cf0d0258aa79b759db9c68a447071ab6ee4ab.tar.gz
bcm5719-llvm-9e6cf0d0258aa79b759db9c68a447071ab6ee4ab.zip
Fix build of affine load/store with empty map
tensorflow/mlir#58 fixed and exercised verification of load/store ops using empty affine maps. Unfortunately, it didn't exercise the creation of them. This PR addresses that aspect. It removes the assumption of AffineMap having at least one result and stores a pointer to MLIRContext as member of AffineMap. * Add empty map support to affine.store + test * Move MLIRContext to AffineMapStorage Closes tensorflow/mlir#74 PiperOrigin-RevId: 264416260
Diffstat (limited to 'mlir/lib/Transforms/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud