1. May 29, 2012
  2. May 28, 2012
    • Meador Inge's avatar
      PR12696: Attribute bits above 1<<30 are not encoded in bitcode · e17b69a3
      Meador Inge authored
      Attribute bits above 1<<30 are now encoded correctly.  Additionally,
      the encoding/decoding functionality has been hoisted to helper functions
      in Attributes.h in an effort to help the encoding/decoding to stay in
      sync with the Attribute bitcode definitions.
      
      llvm-svn: 157581
      e17b69a3
    • Alexander Potapenko's avatar
      More verbose check in AppendString. · db892de5
      Alexander Potapenko authored
      llvm-svn: 157580
      db892de5
    • Dmitry Vyukov's avatar
      tsan: pass CFLAGS to tests · e1bbb2f3
      Dmitry Vyukov authored
      llvm-svn: 157579
      e1bbb2f3
    • Dmitry Vyukov's avatar
      tsan: be more conservative wrt symbolizer output · ed5bc027
      Dmitry Vyukov authored
      llvm-svn: 157578
      ed5bc027
    • Benjamin Kramer's avatar
      Random BitcodeReader cleanups. · 9704ed03
      Benjamin Kramer authored
      llvm-svn: 157577
      9704ed03
    • Stepan Dyatkovskiy's avatar
      PR1255: Case Ranges · e3e19cbb
      Stepan Dyatkovskiy authored
      Implemented IntItem - the wrapper around APInt. Why not to use APInt item directly right now?
      1. It will very difficult to implement case ranges as series of small patches. We got several large and heavy patches. Each patch will about 90-120 kb. If you replace ConstantInt with APInt in SwitchInst you will need to changes at the same time all Readers,Writers and absolutely all passes that uses SwitchInst.
      2. We can implement APInt pool inside and save memory space. E.g. we use several switches that works with 256 bit items (switch on signatures, or strings). We can avoid value duplicates in this case.
      3. IntItem can be easyly easily replaced with APInt.
      4. Currenly we can interpret IntItem both as ConstantInt and as APInt. It allows to provide SwitchInst methods that works with ConstantInt for non-updated passes.
      
      Why I need it right now? Currently I need to update SimplifyCFG pass (EqualityComparisons). I need to work with APInts directly a lot, so peaces of code
      ConstantInt *V = ...;
      if (V->getValue().ugt(AnotherV->getValue()) {
        ...
      }
      will look awful. Much more better this way:
      IntItem V = ConstantIntVal->getValue();
      if (AnotherV < V) {
      }
      
      Of course any reviews are welcome.
      
      P.S.: I'm also going to rename ConstantRangesSet to IntegersSubset, and CRSBuilder to IntegersSubsetMapping (allows to map individual subsets of integers to the BasicBlocks).
      Since in future these classes will founded on APInt, it will possible to use them in more generic ways.
      
      llvm-svn: 157576
      e3e19cbb
    • Stepan Dyatkovskiy's avatar
    • Bill Wendling's avatar
      Add support for the GCOV_PREFIX_STRIP env variable which tries to strip off... · aa888a29
      Bill Wendling authored
      Add support for the GCOV_PREFIX_STRIP env variable which tries to strip off the first 'n' directories from the filename.
      
      llvm-svn: 157574
      aa888a29