[mlir][EDSC] Hotfix - Provide impl for `negate`
authorNicolas Vasilache <ntv@google.com>
Thu, 23 Apr 2020 18:10:24 +0000 (14:10 -0400)
committerNicolas Vasilache <ntv@google.com>
Thu, 23 Apr 2020 18:18:47 +0000 (14:18 -0400)
commit37d417bb0adca62b6902dd27019465f9ae4319a5
tree082616410e5d4a063871dc695b17f61d49085096
parentb578c92a98981c2d585d07ba033b52332a0d1cf5
[mlir][EDSC] Hotfix - Provide impl for `negate`

367229e100eca714276253bf95a0dd3d084a9624 retired ValueHandle but
mistakenly removed the implementation for `negate` which was not
tested and would result in linking errors.

This revision adds the implementation back and provides a test.
mlir/lib/Dialect/Affine/EDSC/Builders.cpp
mlir/lib/Dialect/LoopOps/EDSC/Builders.cpp
mlir/test/EDSC/builder-api-test.cpp