Skip to content
Snippets Groups Projects
  1. Jun 15, 2016
  2. Jun 09, 2016
  3. Jun 01, 2016
  4. May 31, 2016
  5. May 29, 2016
  6. May 27, 2016
  7. May 26, 2016
  8. May 18, 2016
  9. May 09, 2016
  10. May 04, 2016
  11. May 03, 2016
  12. Apr 27, 2016
  13. Apr 25, 2016
    • Nico Weber's avatar
      driver: Add a `--rsp-quoting` flag to pick response file quoting. · 3d299b5b
      Nico Weber authored
      Currently, clang-cl always uses Windows style for unquoting, and clang always
      uses POSIX style for unquoting.
      
      With this flag, it's possible to change these defaults.
      
      In general, response file quoting should match the shell the response file is
      used in.  On Windows, it's possible to run clang-cl in a bash shell, or clang in
      cmd.exe, so a flag for overriding the default behavior is natural there.
      
      On non-Windows, Windows quoting probably never makes sense (except maybe in
      Wine), but having clang-cl behave differently based on the host OS seems
      strange too.  So require that people who want to use posix-style response
      files with clang-cl on non-Windows pass --rsp-quoting=posix.
      
      http://reviews.llvm.org/D19425
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267474 91177308-0d34-0410-b5e6-96231b3b80d8
      3d299b5b
  14. Apr 22, 2016
  15. Apr 20, 2016
  16. Apr 19, 2016
  17. Apr 15, 2016
  18. Apr 13, 2016
  19. Apr 11, 2016
  20. Apr 09, 2016
    • Chris Bieneman's avatar
      [Perf-Training] Reworked workflow improvements for order-file generation · 5f12fe84
      Chris Bieneman authored
      This is re-landing r260742. I've reworked the conditionals so that it only hits when targeting Apple platforms with ld64.
      
      Original Summary:
      With this change generating clang order files using dtrace uses the following workflow:
      
      cmake <whatever options you want>
      
      ninja generate-order-file
      
      ninja clang
      
      This patch works by setting a default path to the order file (which can be overridden by the user). If the order file doesn't exist during configuration CMake will create an empty one.
      
      CMake then ties up the dependencies between the clang link job and the order file, and generate-order-file overwrites CLANG_ORDER_FILE with the new order file.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265864 91177308-0d34-0410-b5e6-96231b3b80d8
      5f12fe84
  21. Apr 08, 2016
    • Alexey Bader's avatar
      [OpenCL] Complete image types support. · aa8b893c
      Alexey Bader authored
      I. Current implementation of images is not conformant to spec in the following points:
        1. It makes no distinction with respect to access qualifiers and therefore allows to use images with different access type interchangeably. The following code would compile just fine:
      
              void write_image(write_only image2d_t img);
              kernel void foo(read_only image2d_t img) { write_image(img); } // Accepted code
      
           which is disallowed according to s6.13.14.
      
        2. It discards access qualifier on generated code, which leads to generated code for the above example:
      
              call void @write_image(%opencl.image2d_t* %img);
      
           In OpenCL2.0 however we can have different calls into write_image with read_only and wite_only images.
           Also generally following compiler steps have no easy way to take different path depending on the image access: linking to the right implementation of image types, performing IR opts and backend codegen differently.
      
        3. Image types are language keywords and can't be redeclared s6.1.9, which can happen currently as they are just typedef names.
        4. Default access qualifier read_only is to be added if not provided explicitly.
      
      II. This patch corrects the above points as follows:
        1. All images are encapsulated into a separate .def file that is inserted in different points where image handling is required. This avoid a lot of code repetition as all images are handled the same way in the code with no distinction of their exact type.
        2. The Cartesian product of image types and image access qualifiers is added to the builtin types. This simplifies a lot handling of access type mismatch as no operations are allowed by default on distinct Builtin types. Also spec intended access qualifier as special type qualifier that are combined with an image type to form a distinct type (see statement above - images can't be created w/o access qualifiers).
        3. Improves testing of images in Clang.
      
      Author: Anastasia Stulova
      Reviewers: bader, mgrang.
      Subscribers: pxli168, pekka.jaaskelainen, yaxunl.
      Differential Revision: http://reviews.llvm.org/D17821
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265783 91177308-0d34-0410-b5e6-96231b3b80d8
      aa8b893c
  22. Apr 03, 2016
  23. Mar 31, 2016
  24. Mar 30, 2016
  25. Mar 29, 2016
  26. Mar 25, 2016
Loading