[llvm] r193180 - R600/SI: Fix warning on non-asserts build

Tom Stellard thomas.stellard at amd.com
Tue Oct 22 11:31:45 PDT 2013


Author: tstellar
Date: Tue Oct 22 13:31:45 2013
New Revision: 193180

URL: http://llvm.org/viewvc/llvm-project?rev=193180&view=rev
Log:
R600/SI: Fix warning on non-asserts build

Modified:
    llvm/trunk/lib/Target/R600/SIInstrInfo.cpp

Modified: llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstrInfo.cpp?rev=193180&r1=193179&r2=193180&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.cpp Tue Oct 22 13:31:45 2013
@@ -202,6 +202,7 @@ MachineInstr *SIInstrInfo::buildMovInstr
                                          unsigned DstReg,
                                          unsigned SrcReg) const {
   assert(!"Not Implemented");
+  return NULL;
 }
 
 bool SIInstrInfo::isMov(unsigned Opcode) const {





More information about the llvm-commits mailing list