fix aliasing on unwrap optional (#15748)
authorElias Ellison <eellison@fb.com>
Thu, 10 Jan 2019 20:49:54 +0000 (12:49 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 10 Jan 2019 20:52:53 +0000 (12:52 -0800)
commit9173cd5a4d31abd8cf42fcae0341db8287a69074
tree701717fcb727575ca8bf507a6cc678d1d4a44c4f
parentd35295c6039dce0d9c67c7de0b96395da174bb65
fix aliasing on unwrap optional (#15748)

Summary:
Fix for https://github.com/pytorch/pytorch/issues/15604
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15748

Differential Revision: D13583632

Pulled By: eellison

fbshipit-source-id: 9655ee010494179e17e34f3047363477dad15fb1
torch/csrc/jit/operator.cpp
torch/csrc/jit/passes/alias_analysis.cpp
torch/csrc/jit/register_prim_ops.cpp