Fork自 PaddlePaddle / Paddle
* Fix the null ptr bug in build_cinn_pass. * Add test for empty&ctrl var.