1. Apr 18, 2013
  2. Apr 17, 2013
    • Vincent Lejeune's avatar
      R600: Make Export Instruction not duplicable · 2d5c341c
      Vincent Lejeune authored
      llvm-svn: 179686
      2d5c341c
    • Vincent Lejeune's avatar
      R600: Export is emitted as a CF_NATIVE inst · 218093e8
      Vincent Lejeune authored
      llvm-svn: 179685
      218093e8
    • Vincent Lejeune's avatar
      R600: Emit used GPRs count · 98a73808
      Vincent Lejeune authored
      llvm-svn: 179684
      98a73808
    • Manuel Klimek's avatar
      This corrects problems in the LibASTMatchers tutorial. · 21ae2519
      Manuel Klimek authored
      Patch by Jochen Eisinger.
      
      llvm-svn: 179683
      21ae2519
    • Alexey Samsonov's avatar
      3d0e3ed0
    • Timur Iskhodzhanov's avatar
      Set SRet flags properly in '-cxx-abi microsoft'. · 8fe501dc
      Timur Iskhodzhanov authored
      Also,
      - abstract out the indirect/in memory/in registers decisions into the CGCXXABI
      - fix handling of empty struct arguments for '-cxx-abi microsoft'
      - add/fix tests
      
      llvm-svn: 179681
      8fe501dc
    • Douglas Gregor's avatar
      Fix PR15291: noreturn adjustment in overload resolution for function... · 19a41f16
      Douglas Gregor authored
      Fix PR15291: noreturn adjustment in overload resolution for function templates, from Alexander Zinenko!
      
      llvm-svn: 179680
      19a41f16
    • Alexey Samsonov's avatar
      Create a stub for DWARF parser unittests · 045c6c5b
      Alexey Samsonov authored
      Moves one DWARF-specific header to include/llvm/DebugInfo from lib/.
      Add a short unittest for r179095.
      
      llvm-svn: 179678
      045c6c5b
    • Andy Gibbs's avatar
      Extended VerifyDiagnosticConsumer to also verify source file for diagnostic. · fcc699ae
      Andy Gibbs authored
      VerifyDiagnosticConsumer previously would not check that the diagnostic and
      its matching directive referenced the same source file.  Common practice was
      to create directives that referenced other files but only by line number,
      and this led to problems such as when the file containing the directive
      didn't have enough lines to match the location of the diagnostic in the
      other file, leading to bizarre file formatting and other oddities.
      
      This patch causes VerifyDiagnosticConsumer to match source files as well as
      line numbers.  Therefore, a new syntax is made available for directives, for
      example:
      
      // expected-error@file:line {{diagnostic message}}
      
      This extends the @line feature where "file" is the file where the diagnostic
      is generated.  The @line syntax is still available and uses the current file
      for the diagnostic.  "file" can be specified either as a relative or absolute
      path - although the latter has less usefulness, I think!  The #include search
      paths will be used to locate the file and if it is not found an error will be
      generated.
      
      The new check is not optional: if the directive is in a different file to the
      diagnostic, the file must be specified.  Therefore, a number of test-cases
      have been updated with regard to this.
      
      This closes out PR15613.
      
      llvm-svn: 179677
      fcc699ae
    • Daniel Jasper's avatar
      Small improvements to clang-format documentation and integration · dd77743a
      Daniel Jasper authored
      scripts.
      
      llvm-svn: 179676
      dd77743a
    • Sean Callanan's avatar
      Updated the IRInterpreter to work with an · 08052afa
      Sean Callanan authored
      IRMemoryMap rather than through its own memory
      abstraction.  This considerably simplifies the
      code, and makes it possible to run the
      IRInterpreter multiple times on an already-parsed
      expression in the absence of a ClangExpressionDeclMap.
      
      Changes include:
      
        - ClangExpressionDeclMap's interface methods
          for the IRInterpreter now take IRMemoryMap
          arguments.  They are not long for this world,
          however, since the IRInterpreter will soon be
          working with materialized variables.
      
        - As mentioned above, removed the Memory class
          from the IR interpreter altogether.  It had a
          few functions that remain useful, such as
          keeping track of Values that have been placed
          in memory, so I moved those into methods on
          InterpreterStackFrame.
      
        - Changed IRInterpreter to work with lldb::addr_t
          rather than Memory::Region as its primary
          currency.
      
        - Fixed a bug in the IRMemoryMap where it did not
          report correct address byte size and byte order
          if no process was present, because it was using
          Target::GetDefaultArchitecture() rather than
          Target::GetArchitecture().
      
        - Made IRMemoryMap methods clear the Errors they
          receive before running.  Having to do this by
          hand is just annoying.
      
      The testsuite seems happy with these changes, but
      please let me know if you see problems (especially
      in use cases without a process).
      
      llvm-svn: 179675
      08052afa
    • Tobias Grosser's avatar
      IndependentBlocks: We can only reconstruct PHI nodes that are within the ScoP · e8df5bd9
      Tobias Grosser authored
      In the classical (non -polly-codegen-scev) mode, we assume that we can always
      recreate PHI nodes during code generation. This is not true. We can only
      reconstruct them from the polyhedral information, in case the entire loop of the
      PHI node is part of the SCoP and consequently the PHI node was translated in
      the polyhedral description.
      
      llvm-svn: 179674
      e8df5bd9
    • Tobias Grosser's avatar
      Remove unneeded RegionSimplify pass. · b5f92892
      Tobias Grosser authored
      
      
      We now support regions with multiple entries and multiple exits natively.
      Regions are not needed to be simplified to single entry and single exit.
      
      We need to XFAIL two test cases as this change increases the scop coverage
      and uncoveres two failures in the independent blocks pass. The first failure
      will be fixed in a subsequent commit, the second one is in the non-default
      -polly-codegen-scev mode and still needs to be fixed.
      
      Contributed-by: default avatarStar Tan <tanmx_star@yeah.net>
      llvm-svn: 179673
      b5f92892
    • Tobias Grosser's avatar
      tests: Fix 'instruction does not dominate all its uses' error · 36a01b0a
      Tobias Grosser authored
      The LLVM-IR of this test case was apperently incorrect.
      
      llvm-svn: 179672
      36a01b0a
    • Eric Christopher's avatar
      Add a bit of a hack to deal with a failing testcase on darwin10 bots. · 6ddf14db
      Eric Christopher authored
      We currently emit an error message when you try to use thread local
      storage on targets that don't support it and testing C++11 thread
      locals will trip this. We don't want to xfail the test for all darwin
      hosts so add a quick hack to check for darwin10 and disable the
      test based on that. Only checking darwin10 because anything earlier
      is really old and I don't have a list of what other hosts don't
      support tls handy.
      
      Alternate suggestions welcome!
      
      llvm-svn: 179671
      6ddf14db
    • Eric Christopher's avatar
      Remove dead option. · ddc6923a
      Eric Christopher authored
      llvm-svn: 179670
      ddc6923a
    • Evgeniy Stepanov's avatar
      Fix -Werror build. · 3d8ab193
      Evgeniy Stepanov authored
      Broken in r179657.
      
      llvm-svn: 179669
      3d8ab193
    • Eric Christopher's avatar
      This appears to be no longer necessary for the testsuite. · 6d1fcb46
      Eric Christopher authored
      llvm-svn: 179667
      6d1fcb46
    • Anat Shemer's avatar
      test · 83f7413f
      Anat Shemer authored
      llvm-svn: 179665
      83f7413f
    • David Blaikie's avatar
      PR15149/r174304 improvement - print hex for unknown dwarf language codes & add a test case · a205ea31
      David Blaikie authored
      CR feedback from Rafael Espindola and Paul Robinson.
      
      llvm-svn: 179664
      a205ea31
    • Eric Christopher's avatar
      Fix random typo. · c9e6e9ed
      Eric Christopher authored
      llvm-svn: 179663
      c9e6e9ed
    • Richard Trieu's avatar
      Add warning group -Woverloaded-shift-op-parentheses to -Wparentheses. This · fe042e6a
      Richard Trieu authored
      will fire on code such as:
      
        cout << x == 0;
      
      which the compiler will intrepret as
      
        (cout << x) == 0;
      
      This warning comes with two fixits attached to notes, one for parentheses to
      silence the warning, and another to evaluate the comparison first.
      
      llvm-svn: 179662
      fe042e6a