1. Mar 08, 2013
  2. Mar 07, 2013
    • Edwin Vane's avatar
      Adding lvalue and rvalue reference type matchers · 2a760d02
      Edwin Vane authored
          
      Updated docs and tests.
          
      Reviewers: klimek, gribozavr
      
      llvm-svn: 176630
      2a760d02
    • Guy Benyei's avatar
      Add 'e' to the SPIR data layout - SPIR is little endian for now. · 5ea30273
      Guy Benyei authored
      Add 32/64 bit specific target defines for SPIR.
      
      llvm-svn: 176629
      5ea30273
    • Matthew Curtis's avatar
      Minor refactor of how we get compilation phases. · 7ab8b2b2
      Matthew Curtis authored
      There is now a single function to get the list of phases for a given
      output Type.
      
      No functionality change intended.
      
      llvm-svn: 176628
      7ab8b2b2
    • Chandler Carruth's avatar
      Switch from autogenerating tests to using the preprocessor. · 074a3568
      Chandler Carruth authored
      NOTE: You may need to run 'make clean' or 'ninja -t clean' etc!!! This
            is due to really nasty bug/interactions between
            CMake/configure/make/Ninja/LIT...
      
      This commit tries to back out the support for generating test cases as
      part of the build system due to the issues I brought up in post-commit
      review:
      
      1) It adds a *lot* of complexity and fragility to the build system. See
         the number of commits required to try to get all the bots happy.
      2) It isn't really necessary -- we can already run scripts to generate
         things with the RUN lines of a test.
      3) It makes the tests somewhat harder to debug as they cross between
         more domains.
      4) In almost all cases it isn't really needed or it can be done directly
         using the preprocessor.
      
      I should have been more proactive reviewing this, and I'm really sorry
      about the churn here. =/ To help keep track of what commits are going
      where, this backs out most of the non-test-changes from these revisions:
        r176397
        r176373
        r176293
        r176184
        r175744
        r175624
        r175545
        r175544
      
      There were several trivial or cleanup changes to the lit files or other
      files. Some of these looked ok, but I didn't try to tease them apart...
      Edwin, if you know what to look for, please carry on with the cleanups
      there, and sorry for hosing stuff here but I'm not much of a Python
      person, and so I was erring on the side of cautiously backing out the
      change.
      
      I've tried to preserve the test changes everywhere I could, but review
      is appreciated here in case I missed some.
      
      I then re-wrote the tests to use the preprocessor rather than python to
      expand to the various bits of code. The nicest part of this is that now
      all the files are just C++ code. They edit and behave like C++ code,
      etc. RUN lines with different -D flags are used to run the same test
      over multiple different configurations, and includes bracketed in
      special defines are used to flesh out a collection of standard interface
      stubs to test interactions between pieces. These probably aren't perfect
      yet, but I think its an improvement (at least in terms of build system
      complexity) and will hopefully be a useful demonstration of the
      technique I prefer for these types of tests.
      
      llvm-svn: 176627
      074a3568
    • Christian Konig's avatar
      R600/SI: rework input interpolation v2 · 99ee0f47
      Christian Konig authored
      
      
      v2: update CMakeLists.txt as well
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 176626
      99ee0f47
    • Christian Konig's avatar
      R600/SI: remove SI_vs_load_buffer_index · aa9f4e6d
      Christian Konig authored
      
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 176625
      aa9f4e6d
    • Christian Konig's avatar
      R600/SI: remove SGPR address space v2 · 189357c6
      Christian Konig authored
      
      
      v2: fix R600 regressions
      
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 176624
      189357c6