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
    • Bill Wendling's avatar
      Add a bool->StringRef c'tor to StringRef. · bbf5a323
      Bill Wendling authored
      llvm-svn: 187166
      bbf5a323
    • Hans Wennborg's avatar
      Phabricator.rst: tiny fix · ac1d6a0c
      Hans Wennborg authored
      llvm-svn: 187164
      ac1d6a0c
    • Aaron Ballman's avatar
      Using a different loop induction variable than the enclosing scope. No... · 13235dad
      Aaron Ballman authored
      Using a different loop induction variable than the enclosing scope.  No functional changes intended.
      
      llvm-svn: 187159
      13235dad
  2. Jul 25, 2013
  3. Jul 24, 2013
    • Jakob Stoklund Olesen's avatar
      Speling. · 5e5e297d
      Jakob Stoklund Olesen authored
      llvm-svn: 187076
      5e5e297d
    • Quentin Colombet's avatar
      Fix a bug in IfConverter with nested predicates. · bdab227e
      Quentin Colombet authored
      Prior to this patch, IfConverter may widen the cases where a sequence of
      instructions were executed because of the way it uses nested predicates. This
      result in incorrect execution.
      
      For instance, Let A be a basic block that flows conditionally into B and B be a
      predicated block.
      B can be predicated with A.BrToBPredicate into A iff B.Predicate is less
      "permissive" than A.BrToBPredicate, i.e., iff A.BrToBPredicate subsumes
      B.Predicate.
      
      The IfConverter was checking the opposite: B.Predicate subsumes
      A.BrToBPredicate.
      
      <rdar://problem/14379453>
      
      llvm-svn: 187071
      bdab227e
Loading