[all-commits] [llvm/llvm-project] 205f7e: [Lint] Skip null args when checking noalias

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Sep 4 06:03:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 205f7ee737f75e666f70ad51bda5f778c02ab124
      https://github.com/llvm/llvm-project/commit/205f7ee737f75e666f70ad51bda5f778c02ab124
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M llvm/lib/Analysis/Lint.cpp
    A llvm/test/Analysis/Lint/noalias-null.ll

  Log Message:
  -----------
  [Lint] Skip null args when checking noalias

Do not emit a warning if there are two null noalias arguments,
as they cannot be dereferenced anyway.

This is a common pattern for `@.omp_outlined`, which has some
optional noalias arguments.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list