[all-commits] [llvm/llvm-project] dc3875: Add parameter extension attributes in various inst...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Jan 18 16:30:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc3875e468360b59300b02fdd0f940f4f6429629
      https://github.com/llvm/llvm-project/commit/dc3875e468360b59300b02fdd0f940f4f6429629
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M clang/test/OpenMP/interop_irbuilder.cpp
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
    M llvm/test/Instrumentation/AddressSanitizer/experiment.ll
    M llvm/test/Instrumentation/AddressSanitizer/mem-intrinsics.ll
    M llvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64.ll
    M llvm/test/Instrumentation/MemorySanitizer/SystemZ/vararg.ll
    M llvm/test/Instrumentation/MemorySanitizer/atomics.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
    M llvm/test/Instrumentation/ThreadSanitizer/atomic.ll
    M llvm/test/Transforms/GCOVProfiling/function-numbering.ll
    M llvm/test/Transforms/OpenMP/add_attributes.ll

  Log Message:
  -----------
  Add parameter extension attributes in various instrumentation passes.

For the targets that have in their ABI the requirement that arguments and
return values are extended to the full register bitwidth, it is important
that calls when built also take care of this detail.

The OMPIRBuilder, AddressSanitizer, GCOVProfiling, MemorySanitizer and
ThreadSanitizer passes are with this patch hopefully now doing this properly.

Reviewed By: Eli Friedman, Ulrich Weigand, Johannes Doerfert

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




More information about the All-commits mailing list