[PATCH] D21701: [AMDGPU] Fix warning

Konstantin Zhuravlyov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 21:16:51 PDT 2016


kzhuravl updated this revision to Diff 61884.
kzhuravl added a comment.

Address review comments


http://reviews.llvm.org/D21701

Files:
  lib/Target/AMDGPU/AMDGPUInstrInfo.cpp

Index: lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
===================================================================
--- lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
+++ lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
@@ -157,6 +157,7 @@
   case AMDGPUSubtarget::NORTHERN_ISLANDS:
     return SIEncodingFamily::SI;
   }
+  llvm_unreachable("unexpected generation");
 }
 
 int AMDGPUInstrInfo::pseudoToMCOpcode(int Opcode) const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21701.61884.patch
Type: text/x-patch
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160625/d3d4f977/attachment.bin>


More information about the llvm-commits mailing list