Use new eraseOp instead of replaceOp with empty values
authorGeoffrey Martin-Noble <gcmn@google.com>
Sat, 19 Oct 2019 13:03:50 +0000 (06:03 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 19 Oct 2019 13:04:18 +0000 (06:04 -0700)
commitbc577eaf441f06c879ae8cc2edb5b1fc2e05676c
treee54a186f0fd2260aa93539bdc2708a14dc409bfc
parentc3e56cd12cf6d4ab3223d402370dc9236acd0f1b
Use new eraseOp instead of replaceOp with empty values

PiperOrigin-RevId: 275631166
mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
mlir/lib/Conversion/LoopToStandard/ConvertLoopToStandard.cpp
mlir/lib/Dialect/AffineOps/AffineOps.cpp
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp