Remove the last hasRawTextSupport call from R600.

There is nothing wrong with printing the disassembly section when printing
text. An hypothetical assembler would then produce a .o just like our
direct object emission produces.

llvm-svn: 200583
This commit is contained in:
Rafael Espindola 2014-01-31 22:14:06 +00:00
parent 887541fe27
commit 277f9061fc
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ extern "C" void LLVMInitializeR600AsmPrinter() {
AMDGPUAsmPrinter::AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer)
: AsmPrinter(TM, Streamer) {
DisasmEnabled = TM.getSubtarget<AMDGPUSubtarget>().dumpCode() &&
! Streamer.hasRawTextSupport();
DisasmEnabled = TM.getSubtarget<AMDGPUSubtarget>().dumpCode();
}
/// We need to override this function so we can avoid