When TableGen finds an error in the SparcV9.td file, it exits with a non-zero
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 29 May 2003 05:29:22 +0000 (05:29 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 29 May 2003 05:29:22 +0000 (05:29 +0000)
commit3f7b58bca077baf9a559543164f880089082f849
tree7af63c8f02a759caacb88d108d2dd88e094fde92
parente5841daa7901154a018a93f863347e2e77f64abe
When TableGen finds an error in the SparcV9.td file, it exits with a non-zero
exit code. This, in turn, makes an empty file SparcV9CodeEmitter.inc, and only
much later, produces a link error because the key function that TableGen creates
isn't found.

Using a temporary file in the middle forces a good .INC file to be generated by
TableGen, and it will keep trying until you fix the input file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/Makefile