diff options
author | Yonghong Song <yhs@fb.com> | 2018-03-13 06:47:06 +0000 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2018-03-13 06:47:06 +0000 |
commit | e91802f33624f8e747f4128d5ad1dae2bb5d0da3 (patch) | |
tree | 7c4398076a38e222d74b257b90bc6f84889ef9c7 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c | |
parent | 80b882ecc565ae8b27dd6a61f37d74a0aef7e959 (diff) | |
download | bcm5719-llvm-e91802f33624f8e747f4128d5ad1dae2bb5d0da3.tar.gz bcm5719-llvm-e91802f33624f8e747f4128d5ad1dae2bb5d0da3.zip |
bpf: New post-RA peephole optimization pass to eliminate bad RA codegen
This new pass eliminate identical move:
MOV rA, rA
This is particularly possible to happen when sub-register support
enabled. The special type cast insn MOV_32_64 involves different
register class on src (i32) and dst (i64), RA could generate useless
instruction due to this.
This pass also could serve as the bast for further post-RA optimization.
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
llvm-svn: 327370
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions