Fix the bug in removeLOADIs function.
authorJunyan He <junyan.he@linux.intel.com>
Wed, 22 Jan 2014 06:02:30 +0000 (14:02 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Sun, 26 Jan 2014 09:03:52 +0000 (17:03 +0800)
commit84459335c59a023baa5513cb091e775b75b5c0c0
treec7d0de7f25e454f51f1f0433ef8458765466113e
parentc77069355ea593ec9d94cc82387735f562363340
Fix the bug in removeLOADIs function.

The logic for replacing the dst of the instruction
using the src number and getSrc. Fix this problem.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/llvm/llvm_gen_backend.cpp