This makes HHIR slightly more canonical and eliminates one more opcode we have to maintain/port.
Reviewed By: @alexmalyshev
Differential Revision: D1204092
6df7a29 Implement BitNot with BitXor
hphp/runtime/vm/jit/code-gen-arm.cpp | 1 -
hphp/runtime/vm/jit/code-gen-x64.cpp | 7 +++----
hphp/runtime/vm/jit/hhbc-translator.cpp | 4 ++--
hphp/runtime/vm/jit/ir.h | 1 -
hphp/runtime/vm/jit/simplifier.cpp | 14 +++-----------
5 files changed, 8 insertions(+), 19 deletions(-)
Upstream: github.com