r2.14 cherry-pick: 70ee782d213 "[XLA:CPU] Refactor CpuExecutable so LLVM errors can be propagated"
Refer to the original commit: https://github.com/tensorflow/tensorflow/commit/70ee782d2131754b45cf29c08cb717c8714046b8