diff --git a/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp b/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp index 43f327980540..1ef3df3aedee 100644 --- a/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp +++ b/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp @@ -47,8 +47,7 @@ extern "C" void LLVMInitializeR600AsmPrinter() { AMDGPUAsmPrinter::AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer) : AsmPrinter(TM, Streamer) { - DisasmEnabled = TM.getSubtarget().dumpCode() && - ! Streamer.hasRawTextSupport(); + DisasmEnabled = TM.getSubtarget().dumpCode(); } /// We need to override this function so we can avoid