[all-commits] [llvm/llvm-project] 70ab8e: [compiler-rt] Move up undefined macro checks

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Jan 9 07:55:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70ab8e8ad99e41bf242804461a72b178f8a72261
      https://github.com/llvm/llvm-project/commit/70ab8e8ad99e41bf242804461a72b178f8a72261
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model.c

  Log Message:
  -----------
  [compiler-rt] Move up undefined macro checks

Previously HWCAP_ATOMIC and others were being used before checking if
they were defined. This moves up all the ifndef checks to define these
macros if they are not yet defined.

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




More information about the All-commits mailing list