OSDN Git Service

[SubZero] Utilize instructions with immediate operands
authorJaydeep Patil <jaydeep.patil@imgtec.com>
Mon, 7 Nov 2016 04:53:48 +0000 (20:53 -0800)
committerJim Stichnoth <stichnot@chromium.org>
Mon, 7 Nov 2016 04:53:48 +0000 (20:53 -0800)
commit21f78bb1b7cd9040ce5baea3be51f7be49a1bb1f
treed35847364b680a3d48d024715a37a9e928bf45dd
parent3da9f6571608b337af7c9d2ad9e0ca938bb49ae7
[SubZero] Utilize instructions with immediate operands

This patch optimizes code generation of instructions with 16-bit immediate operands

R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/2478113003 .

Patch from Jaydeep Patil <jaydeep.patil@imgtec.com>.
src/IceTargetLoweringMIPS32.cpp
tests_lit/assembler/mips32/encoding_test_arith.ll
tests_lit/llvm2ice_tests/8bit.pnacl.ll
tests_lit/llvm2ice_tests/adv-switch-opt.ll
tests_lit/llvm2ice_tests/nop-insertion-no-vectors.ll
tests_lit/llvm2ice_tests/shift.ll
tests_lit/llvm2ice_tests/switch-opt.ll
tests_lit/llvm2ice_tests/test_i1.ll
tests_lit/llvm2ice_tests/uncond_br.ll