[all-commits] [llvm/llvm-project] 1ab6fa: HWAsan: Fix creating unnecessary bitcast with opaq...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Nov 27 18:24:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ab6fa5152a093b127165ec6acd7d986d8759c70
      https://github.com/llvm/llvm-project/commit/1ab6fa5152a093b127165ec6acd7d986d8759c70
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll

  Log Message:
  -----------
  HWAsan: Fix creating unnecessary bitcast with opaque pointers

This was creating a ptr to ptr bitcast. Convert a relevant test to
opaque pointers.


  Commit: 6f3335f590ff080beffa090d7f2a783155974497
      https://github.com/llvm/llvm-project/commit/6f3335f590ff080beffa090d7f2a783155974497
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca-array.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca-with-calls.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/atomic.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/basic.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/kernel.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/with-calls.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca-array.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca-compat.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca-uninteresting.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca-with-calls.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/atomic.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/basic-compat.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/basic.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset-nopad.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/exception-lifetime.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/fuchsia.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/kernel-alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/kernel.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/landingpad.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/memaccess-clobber.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/musttail.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/personality.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/prologue.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/stack-coloring.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope-setjmp.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/with-calls.ll

  Log Message:
  -----------
  HWAsan: Convert tests to opaque pointers

Fixups needed in:
  X86/alloca-with-calls.ll
  X86/alloca.ll
  alloca-with-calls.ll
  atomic.ll
  basic.ll
  dbg-value-tag-offset.ll
  kernel-alloca.ll
  prologue.ll
  use-after-scope.ll


  Commit: 21c3df4b858476bbc9b2b5af96cfef41f5715715
      https://github.com/llvm/llvm-project/commit/21c3df4b858476bbc9b2b5af96cfef41f5715715
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Instrumentation/MemorySanitizer/AArch64/vararg.ll
    M llvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64.ll
    M llvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64el.ll
    M llvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64.ll
    M llvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64le.ll
    M llvm/test/Instrumentation/MemorySanitizer/SystemZ/vararg.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/vararg.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/vararg_call.ll
    M llvm/test/Instrumentation/MemorySanitizer/alloca.ll
    M llvm/test/Instrumentation/MemorySanitizer/atomics.ll
    M llvm/test/Instrumentation/MemorySanitizer/attributes.ll
    M llvm/test/Instrumentation/MemorySanitizer/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/avx2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/byval-alignment.ll
    M llvm/test/Instrumentation/MemorySanitizer/byval.ll
    M llvm/test/Instrumentation/MemorySanitizer/check-array.ll
    M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
    M llvm/test/Instrumentation/MemorySanitizer/check-struct.ll
    M llvm/test/Instrumentation/MemorySanitizer/check_access_address.ll
    M llvm/test/Instrumentation/MemorySanitizer/clmul.ll
    M llvm/test/Instrumentation/MemorySanitizer/csr.ll
    M llvm/test/Instrumentation/MemorySanitizer/disambiguate-origin.ll
    M llvm/test/Instrumentation/MemorySanitizer/freeze.ll
    M llvm/test/Instrumentation/MemorySanitizer/instrumentation-with-call-threshold.ll
    M llvm/test/Instrumentation/MemorySanitizer/libatomic.ll
    M llvm/test/Instrumentation/MemorySanitizer/manual-shadow.ll
    M llvm/test/Instrumentation/MemorySanitizer/masked-store-load.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_asm_conservative.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_debug_info.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_kernel_basic.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_llvm_launder_invariant.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_llvm_strip_invariant.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_x86_bts_asm.ll
    M llvm/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll
    M llvm/test/Instrumentation/MemorySanitizer/mul_by_constant.ll
    M llvm/test/Instrumentation/MemorySanitizer/no-check-rt-unaligned.ll
    M llvm/test/Instrumentation/MemorySanitizer/nosanitize.ll
    M llvm/test/Instrumentation/MemorySanitizer/opaque-ptr.ll
    M llvm/test/Instrumentation/MemorySanitizer/origin-alignment.ll
    M llvm/test/Instrumentation/MemorySanitizer/origin-array.ll
    M llvm/test/Instrumentation/MemorySanitizer/reduce.ll
    M llvm/test/Instrumentation/MemorySanitizer/sse-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/sse2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/sse41-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/store-long-origin.ll
    M llvm/test/Instrumentation/MemorySanitizer/store-origin.ll
    M llvm/test/Instrumentation/MemorySanitizer/str-nobuiltin.ll
    M llvm/test/Instrumentation/MemorySanitizer/unreachable.ll
    M llvm/test/Instrumentation/MemorySanitizer/unsized_type.ll
    M llvm/test/Instrumentation/MemorySanitizer/with-call-type-size.ll

  Log Message:
  -----------
  MemorySanitizer: Convert tests to opaque pointers

Required fixups:
  alloca.ll
  avx2-intrinsics-x86.ll
  csr.ll
  instrumentation-with-call-threshold.ll
  msan_asm_conservative.ll
  msan_basic.ll
  msan_debug_info.ll
  msan_kernel_basic.ll
  msan_x86intrinsics.ll
  mul_by_constant.ll


Compare: https://github.com/llvm/llvm-project/compare/34ade570195f...21c3df4b8584


More information about the All-commits mailing list