Explicitly narrow Bool dests when appropriate in vasm
commit608eee3519402905b2b953fddb679964bbdf4b2a
authorBrett Simmers <bsimmers@fb.com>
Thu, 18 Dec 2014 11:13:56 +0000 (18 03:13 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 18 Dec 2014 11:30:30 +0000 (18 03:30 -0800)
treee1d9f874de40c8a458b40212befa47936f658d45
parentd67cc4bc9c89ed4d8da85d0114e201479f335354
Explicitly narrow Bool dests when appropriate in vasm

Summary: This ensures that the destination register for instructions like
t5:Bool = AssertType<Bool> t4:Cell will have the right type (i8) in llvm, and
it shouldn't affect the code generated by vasm-x64.

Reviewed By: @jasone

Differential Revision: D1746194

Signature: t1:1746194:1418849552:9c866c2c7ff77fc6333af6576687c96a13ebcc7f
hphp/runtime/vm/jit/code-gen-helpers-x64.cpp
hphp/runtime/vm/jit/code-gen-helpers-x64.h
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/vasm-llvm.cpp
hphp/runtime/vm/jit/vasm-x64.cpp
hphp/runtime/vm/jit/vasm-x64.h