Fixes https://github.com/llvm/llvm-project/pull/167700 to support builds where TableGen's output file is specified as full path rather than just filename.
Fixes https://github.com/llvm/llvm-project/pull/167700 to support builds where TableGen's output file is specified as full path rather than just filename.