1. 28 Aug, 2020 1 commit
    • Work around std::is_trivially_copyable issue with MSVC · 2014e7b9
      Nicolas Capens authored
      Microsoft Visual Studio Community 2019 Version 16.7.1 produced the
      following errors:
      
      C2976 'llvm::SmallVectorTemplateBase': too few template argument
      SwiftShader\third_party\llvm-10.0\llvm\include\llvm\ADT\SmallVector.h:315
      
      C2338 inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable
      SwiftShader\third_party\llvm-10.0\llvm\include\llvm\Support\type_traits.h:181
      
      Not defining LLVM's HAVE_STD_IS_TRIVIALLY_COPYABLE config makes it fall
      back to code which doesn't use std::is_trivially_copyable and avoids the
      issue.
      
      Note this may hide a potentially serious MSVC compiler bug since C2338
      is produced by a static_assert. Without that static assert we may not
      have known about the unexpected std::is_trivially_copyable behavior
      until run-time issues are caused by it.
      
      Bug: swiftshader:153
      Change-Id: I04ab6d8ae725ecab45ac27fd89a37213baa86943
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/47930
      Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
  2. 27 Aug, 2020 1 commit
  3. 26 Aug, 2020 3 commits
  4. 21 Aug, 2020 3 commits
  5. 20 Aug, 2020 1 commit
  6. 18 Aug, 2020 1 commit
  7. 17 Aug, 2020 2 commits
  8. 13 Aug, 2020 2 commits
  9. 12 Aug, 2020 3 commits
  10. 11 Aug, 2020 3 commits
  11. 07 Aug, 2020 1 commit
  12. 06 Aug, 2020 6 commits
  13. 04 Aug, 2020 3 commits
  14. 03 Aug, 2020 1 commit
  15. 02 Aug, 2020 1 commit
  16. 30 Jul, 2020 3 commits
  17. 29 Jul, 2020 4 commits
  18. 28 Jul, 2020 1 commit