Skip to content
  1. Sep 05, 2019
  2. Aug 27, 2019
  3. Aug 06, 2019
    • Matt Arsenault's avatar
      Builtins: Start adding half versions of math builtins · acd0a53c
      Matt Arsenault authored
      The implementation of the OpenCL builtin currently library uses 2
      different hacks to get to the corresponding IR intrinsics from the
      source. This will allow removal of those.
      
      This is the set that is currently used (minus a few vector ones).
      
      llvm-svn: 367973
      acd0a53c
  4. Aug 05, 2019
  5. Aug 03, 2019
    • Tim Northover's avatar
      IR: print value numbers for unnamed function arguments · a009a60a
      Tim Northover authored
      For consistency with normal instructions and clarity when reading IR,
      it's best to print the %0, %1, ... names of function arguments in
      definitions.
      
      Also modifies the parser to accept IR in that form for obvious reasons.
      
      llvm-svn: 367755
      a009a60a
  6. Aug 02, 2019
  7. Jul 31, 2019
  8. Jul 25, 2019
  9. Jul 22, 2019
  10. Jul 17, 2019
  11. Jul 16, 2019
  12. Jul 10, 2019
  13. Jul 09, 2019
  14. Jul 08, 2019
  15. Jun 25, 2019
  16. Jun 24, 2019
  17. Jun 22, 2019
  18. Jun 20, 2019
  19. Jun 19, 2019
  20. Jun 18, 2019
  21. Jun 14, 2019
  22. Jun 05, 2019
    • Tim Northover's avatar
      LLVM IR: Generate new-style byval-with-Type from Clang · c46827c7
      Tim Northover authored
      LLVM IR recently added a Type parameter to the byval Attribute, so that
      when pointers become opaque and no longer have an element type the
      information will still be present in IR.
      
      For now the Type parameter is optional (which is why Clang didn't need
      this change at the time), but it will become mandatory soon.
      
      llvm-svn: 362652
      c46827c7
  23. May 30, 2019
  24. May 29, 2019
  25. May 27, 2019
    • Yaxun Liu's avatar
      [OpenCL] Fix file-scope const sampler variable for 2.0 · a53d48b7
      Yaxun Liu authored
      OpenCL spec v2.0 s6.13.14:
      
      Samplers can also be declared as global constants in the program
      source using the following syntax.
      
         const sampler_t <sampler name> = <value>
      This works fine for OpenCL 1.2 but fails for 2.0, because clang duduces
      address space of file-scope const sampler variable to be in global address
      space whereas spec v2.0 s6.9.b forbids file-scope sampler variable to be
      in global address space.
      
      The fix is not to deduce address space for file-scope sampler variables.
      
      Differential Revision: https://reviews.llvm.org/D62197
      
      llvm-svn: 361757
      a53d48b7
  26. May 24, 2019
  27. May 17, 2019
  28. May 14, 2019
  29. May 08, 2019
    • Anastasia Stulova's avatar
      [Sema][OpenCL] Make address space conversions a bit stricter. · 5b6dda33
      Anastasia Stulova authored
      The semantics for converting nested pointers between address
      spaces are not very well defined. Some conversions which do not
      really carry any meaning only produce warnings, and in some cases
      warnings hide invalid conversions, such as 'global int*' to
      'local float*'!
      
      This patch changes the logic in checkPointerTypesForAssignment
      and checkAddressSpaceCast to fail properly on implicit conversions
      that should definitely not be permitted. We also dig deeper into the
      pointer types and warn on explicit conversions where the address
      space in a nested pointer changes, regardless of whether the address
      space is compatible with the corresponding pointer nesting level
      on the destination type.
      
      Fixes PR39674!
      
      Patch by ebevhan (Bevin Hansson)!
      
      Differential Revision: https://reviews.llvm.org/D58236
      
      llvm-svn: 360258
      5b6dda33
  30. Apr 23, 2019
  31. Apr 11, 2019
  32. Apr 05, 2019
Loading