Hi Bhack,
Calling to tfcompile through the BUILD macro, still did not work with the llvm flag, even after following the doc from bazel that you provided, to pass the env_variables. (still quite new with Blaze to maybe its me here to blame not sure)
Anyway I followed your example calling directly tfcompile and that DID work. I can see the lovely ll files.
So thank you very much for your help and for the detail explanation on how to get the llvm dump.