Skip to content
  1. Jul 26, 2013
    • Tobias Grosser's avatar
      Make .bc en/decoding of AttrKind stable · 0a8e12fd
      Tobias Grosser authored
      The bitcode representation attribute kinds are encoded into / decoded from
      should be independent of the current set of LLVM attributes and their position
      in the AttrKind enum. This patch explicitly encodes attributes to fixed bitcode
      values.
      
      With this patch applied, LLVM does not silently misread attributes written by
      LLVM 3.3. We also enhance the decoding slightly such that an error message is
      printed if an unknown AttrKind encoding was dected.
      
      Bonus: Dropping bitcode attributes from AttrKind is now easy, as old AttrKinds
             do not need to be kept to support the Bitcode reader.
      llvm-svn: 187186
      0a8e12fd
    • Craig Topper's avatar
    • Bill Schmidt's avatar
      [PowerPC] Support powerpc64le as a syntax-checking target. · 0a9170d9
      Bill Schmidt authored
      This patch provides basic support for powerpc64le as an LLVM target.
      However, use of this target will not actually generate little-endian
      code.  Instead, use of the target will cause the correct little-endian
      built-in defines to be generated, so that code that tests for
      __LITTLE_ENDIAN__, for example, will be correctly parsed for
      syntax-only testing.  Code generation will otherwise be the same as
      powerpc64 (big-endian), for now.
      
      The patch leaves open the possibility of creating a little-endian
      PowerPC64 back end, but there is no immediate intent to create such a
      thing.
      
      The LLVM portions of this patch simply add ppc64le coverage everywhere
      that ppc64 coverage currently exists.  There is nothing of any import
      worth testing until such time as little-endian code generation is
      implemented.  In the corresponding Clang patch, there is a new test
      case variant to ensure that correct built-in defines for little-endian
      code are generated.
      
      llvm-svn: 187179
      0a9170d9
  2. Jul 25, 2013
  3. Jul 24, 2013
Loading