Add xor bitwise operation to StandardOps.
authorStephan Herhut <herhut@google.com>
Mon, 8 Apr 2019 12:53:59 +0000 (05:53 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 9 Apr 2019 02:17:56 +0000 (19:17 -0700)
commitaf016ba7a4e8a4d019eb189057fce88c00b8b47d
treed081da35ef09e3169a4e28a67bfe0dacd250293b
parentca89e7167de53256006e88b0b2ffed5a7edf9e20
Add xor bitwise operation to StandardOps.

    This adds parsing, printing and some folding/canonicalization.

    Also extends rewriting of subi %0, %0 to handle vectors and tensors.

--

PiperOrigin-RevId: 242448164
mlir/g3doc/LangRef.md
mlir/include/mlir/StandardOps/Ops.td
mlir/lib/StandardOps/Ops.cpp
mlir/test/IR/core-ops.mlir
mlir/test/Transforms/canonicalize.mlir