Skip to content
  1. Nov 15, 2013
    • Rui Ueyama's avatar
      Include raw_ostream.h. · 08c0b1a1
      Rui Ueyama authored
      Including only Debug.h did not cause a compilation error, but you couldn't
      do anything (like writing something with <<) to raw_ostreams returned by
      llvm::dbgs() or llvm::errs() without including raw_ostream.h. So including
      it from Debug.h should make sense.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2183
      
      llvm-svn: 194759
      08c0b1a1
    • Tom Stellard's avatar
      R600: Fix scheduling of instructions that use the LDS output queue · 8f9fc207
      Tom Stellard authored
      The LDS output queue is accessed via the OQAP register.  The OQAP
      register cannot be live across clauses, so if value is written to the
      output queue, it must be retrieved before the end of the clause.
      With the machine scheduler, we cannot statisfy this constraint, because
      it lacks proper alias analysis and it will mark some LDS accesses as
      having a chain dependency on vertex fetches.  Since vertex fetches
      require a new clauses, the dependency may end up spiltting OQAP uses and
      defs so the end up in different clauses.  See the lds-output-queue.ll
      test for a more detailed explanation.
      
      To work around this issue, we now combine the LDS read and the OQAP
      copy into one instruction and expand it after register allocation.
      
      This patch also adds some checks to the EmitClauseMarker pass, so that
      it doesn't end a clause with a value still in the output queue and
      removes AR.X and OQAP handling from the scheduler (AR.X uses and defs
      were already being expanded post-RA, so the scheduler will never see
      them).
      
      Reviewed-by: Vincent Lejeune <vljn at ovi.com>
      llvm-svn: 194755
      8f9fc207
    • Chandler Carruth's avatar
      Teach the Makefile build system how to handle SOURCES which include · 9c33cfa4
      Chandler Carruth authored
      subdirectories. The only thing needed here is to create the appropriate
      object file directories and add those as dependencies for the
      compilation rules.
      
      As a consequence, factor the non-source-file-specific dependencies for
      compilation rules into a helper variable. This fixes an issue where the
      project makefile wasn't actually a dependency of a bunch of compilation
      make rules for no apparant reason.
      
      This should have no observable effect for current makefile usage, but
      will simplify how we build other libraries and is something CMake
      already supports.
      
      llvm-svn: 194753
      9c33cfa4
    • Tom Stellard's avatar
      R600/SI: Add processor type for Hawaii · 81229a14
      Tom Stellard authored
      
      
      Patch by: Alex Deucher
      
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      llvm-svn: 194752
      81229a14
    • Andrew Trick's avatar
      When folding memory operands, preserve existing MachineMemOperands. · a9f4d928
      Andrew Trick authored
      This comes into play with patchpoint, which can fold multiple
      operands. Since the patchpoint is already treated as a call, the
      machine mem operands won't affect anything, and there's nothing to
      test. But we still want to do the right thing here to be sure that our
      MIs obey the rules.
      
      llvm-svn: 194750
      a9f4d928
    • Matt Arsenault's avatar
      R600/SI: Remove redundant legalizeOperands call · 855e0b71
      Matt Arsenault authored
      llvm-svn: 194749
      855e0b71
    • Eric Christopher's avatar
      Simplify testcase. · ad59015b
      Eric Christopher authored
      llvm-svn: 194748
      ad59015b
    • Hans Wennborg's avatar
      Add #include raw_ostream.h in lib/Target/R600/SIFixSGPRCopies.cpp · a74fd70a
      Hans Wennborg authored
      This was casuing my release+asserts build on Windows to fail.
      
      llvm-svn: 194747
      a74fd70a
  2. Nov 14, 2013
Loading