Skip to content
  1. May 09, 2012
  2. May 08, 2012
  3. May 07, 2012
  4. May 06, 2012
  5. May 05, 2012
  6. May 04, 2012
    • Chandler Carruth's avatar
      Fix a Clang warning in the new NVPTX backend: · cd3464ee
      Chandler Carruth authored
      In file included from ../lib/Target/NVPTX/VectorElementize.cpp:53:
      ../lib/Target/NVPTX/NVPTX.h:44:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
        default: assert(0 && "Unknown condition code");
        ^
      1 warning generated.
      
      The prevailing pattern in LLVM is to not use a default label, and instead to
      use llvm_unreachable to denote that the switch in fact covers all return paths
      from the function.
      
      llvm-svn: 156209
      cd3464ee
Loading