Replace also-emit-llvm with save-temps.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 29 Oct 2014 23:54:45 +0000 (23:54 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 29 Oct 2014 23:54:45 +0000 (23:54 +0000)
commit4a3b6cf3c1b41896fc0b56787ba4e4626c0fca7e
treefd15fe8f7a481e4d82853fc070aabf75c577ca16
parent32c87aced3f19c06fad5c83c5a797655f396aa38
Replace also-emit-llvm with save-temps.

The also-emit-llvm option only supported getting the IR before optimizations.
This patch replaces it with a more generic save-temps option that saves the IR
both before and after optimizations.

llvm-svn: 220885
llvm/test/tools/gold/emit-llvm.ll
llvm/tools/gold/gold-plugin.cpp