[all-commits] [llvm/llvm-project] c5ffc6: [OpenCL] Add builtin header test

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Thu Jun 10 02:06:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5ffc6f8bd6ae0e187de8b6a0e4300161952ba66
      https://github.com/llvm/llvm-project/commit/c5ffc6f8bd6ae0e187de8b6a0e4300161952ba66
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    A clang/test/Headers/lit.local.cfg
    A clang/test/Headers/opencl-builtins.cl

  Log Message:
  -----------
  [OpenCL] Add builtin header test

Add a test to verify OpenCL builtin declarations using
OpenCLBuiltins.td.

This test consists of parsing a 60k line generated input file.  The
entire test takes about 60s with a debug build on a decent machine.
Admittedly this is not the fastest test, but doesn't seem excessive
compared to other tests in clang/test/Headers (with one of the tests
taking 85s for example).

RFC: https://lists.llvm.org/pipermail/cfe-dev/2021-April/067973.html

Differential Revision: https://reviews.llvm.org/D97869




More information about the All-commits mailing list