[all-commits] [llvm/llvm-project] eba7b2: [SafeStack] Use Align instead of uint64_t

aeubanks via All-commits all-commits at lists.llvm.org
Wed Dec 15 14:41:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eba7b26815d84cc964f631971a64bf0da805958e
      https://github.com/llvm/llvm-project/commit/eba7b26815d84cc964f631971a64bf0da805958e
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/CodeGen/SafeStackLayout.cpp
    M llvm/lib/CodeGen/SafeStackLayout.h

  Log Message:
  -----------
  [SafeStack] Use Align instead of uint64_t

It is better typed, and the calls to getAlignment() are deprecated.

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


  Commit: d5583366baa734e2d59946743086e0aec7cae431
      https://github.com/llvm/llvm-project/commit/d5583366baa734e2d59946743086e0aec7cae431
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/FunctionComparator.h
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp

  Log Message:
  -----------
  [FunctionComparator] Use getAlign() instead of getAlignment()

getAlignment() is deprecated.


  Commit: 5a81a60391c3b4bb734f87eeef5c87a44f174bfe
      https://github.com/llvm/llvm-project/commit/5a81a60391c3b4bb734f87eeef5c87a44f174bfe
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/MemDerefPrinter.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp

  Log Message:
  -----------
  [NFC] Remove more calls to getAlignment()

These are deprecated and should be replaced with getAlign().

Some of these asserts don't do anything because Load/Store/AllocaInst never have a 0 align value.


Compare: https://github.com/llvm/llvm-project/compare/3d595eccc7d5...5a81a60391c3


More information about the All-commits mailing list