[all-commits] [llvm/llvm-project] ff858d: [Alignment][NFC] Add DebugStr and operator*

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon Apr 6 05:09:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ff858d77810a5565a1f668c8e900a5e8659817be
      https://github.com/llvm/llvm-project/commit/ff858d77810a5565a1f668c8e900a5e8659817be
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Support/Alignment.h
    M llvm/lib/CodeGen/MachineFrameInfo.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Target/Mips/MipsRegisterInfo.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

  Log Message:
  -----------
  [Alignment][NFC] Add DebugStr and operator*

Summary:
This is a roll forward of D77394 minus AlignmentFromAssumptions (which needs to be addressed separately)
Differences from D77394:
 - DebugStr() now prints the alignment value or `None` and no more `Align(x)` or `MaybeAlign(x)`
   - This is to keep Warning message consistent (CodeGen/SystemZ/alloca-04.ll)
 - Removed a few unneeded headers from Alignment (since it's included everywhere it's better to keep the dependencies to a minimum)

Reviewers: courbet

Subscribers: sdardis, hiraditya, jrtc27, atanasyan, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list