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
    • Justin Holewinski's avatar
      This patch adds a new NVPTX back-end to LLVM which supports code generation... · ae556d3e
      Justin Holewinski authored
      This patch adds a new NVPTX back-end to LLVM which supports code generation for NVIDIA PTX 3.0. This back-end will (eventually) replace the current PTX back-end, while maintaining compatibility with it.
      
      The new target machines are:
      
      nvptx (old ptx32) => 32-bit PTX
      nvptx64 (old ptx64) => 64-bit PTX
      
      The sources are based on the internal NVIDIA NVPTX back-end, and
      contain more functionality than the current PTX back-end currently
      provides.
      
      NV_CONTRIB
      
      llvm-svn: 156196
      ae556d3e
Loading