Fix Linalg3 lowering to use the floating point element type matching the view
authorMehdi Amini <aminim@google.com>
Sun, 7 Apr 2019 20:12:48 +0000 (13:12 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 8 Apr 2019 01:22:34 +0000 (18:22 -0700)
commitfea056081626443a0f5b462c49d42b48762c369d
treede95cf215363d6bca4344a367b92d4710f9adc15
parent364b7e624e93fe9c297ac3cfb13fc7ed6f83f588
Fix Linalg3 lowering to use the floating point element type matching the view

    It used to be hardcoded to f32, but Toy tutorial is using f64.

--

PiperOrigin-RevId: 242370172
mlir/examples/Linalg/Linalg3/lib/TensorOps.cpp