[all-commits] [llvm/llvm-project] f4d32a: [mips] Check that features required by built-ins a...

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Thu Nov 28 13:23:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f4d32ae75bf515f443a2c99dce5c882f460c82bd
      https://github.com/llvm/llvm-project/commit/f4d32ae75bf515f443a2c99dce5c882f460c82bd
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2019-11-29 (Fri, 29 Nov 2019)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Basic/Targets/Mips.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtins-mips-args.c
    M clang/test/CodeGen/builtins-mips.c
    A clang/test/Sema/builtins-mips-features.c

  Log Message:
  -----------
  [mips] Check that features required by built-ins are enabled

Now Clang does not check that features required by built-in functions
are enabled. That causes errors in the backend reported in PR44018.

This patch fixes this bug by checking that required features
are enabled.

This should fix PR44018.

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




More information about the All-commits mailing list