Skip to content
Commit 1d28a759 authored by Yonghong Song's avatar Yonghong Song
Browse files

bpf: Support subregister definition check on PHI node



This patch relax the subregister definition check on Phi node.
Previously, we just cancel the optimizatoin when the definition is Phi
node while actually we could further check the definitions of incoming
parameters of PHI node.

This helps catch more elimination opportunities.

Signed-off-by: default avatarJiong Wang <jiong.wang@netronome.com>
Signed-off-by: default avatarYonghong Song <yhs@fb.com>
llvm-svn: 327368
parent c88bcdec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment