This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository llvm.
from cc0761d47c4 Reland "gn build: (manually) merge r373028" new 71864c0be54 [Alignment][NFC] Remove unneeded llvm:: scoping on Align types new ee4faac758c [llvm-exegesis] Add loop mode for repeating the snippet. new fd525cdd724 [CodeGenPrepare] Mend "avoid crashing from replacing a phi [...]
The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: include/llvm/Analysis/TargetTransformInfo.h | 12 +-- include/llvm/Analysis/TargetTransformInfoImpl.h | 4 +- include/llvm/CodeGen/AsmPrinter.h | 6 +- include/llvm/CodeGen/CallingConvLower.h | 12 +-- include/llvm/CodeGen/MachineBasicBlock.h | 6 +- include/llvm/CodeGen/MachineFrameInfo.h | 21 ++-- include/llvm/CodeGen/MachineFunction.h | 8 +- include/llvm/CodeGen/TargetCallingConv.h | 4 +- include/llvm/CodeGen/TargetLowering.h | 30 +++--- include/llvm/IR/DataLayout.h | 47 ++++---- include/llvm/IR/Instructions.h | 12 +-- include/llvm/MC/MCSection.h | 4 +- include/llvm/Support/Alignment.h | 10 +- include/llvm/Support/OnDiskHashTable.h | 3 +- lib/Analysis/MemoryBuiltins.cpp | 6 +- lib/Analysis/TargetTransformInfo.cpp | 5 +- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 66 ++++++------ lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 4 +- lib/CodeGen/AsmPrinter/EHStreamer.cpp | 6 +- lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp | 2 +- lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | 4 +- lib/CodeGen/BranchRelaxation.cpp | 12 +-- lib/CodeGen/CallingConvLower.cpp | 17 +-- lib/CodeGen/CodeGenPrepare.cpp | 2 +- lib/CodeGen/GlobalISel/CombinerHelper.cpp | 30 +++--- lib/CodeGen/MIRParser/MIParser.cpp | 2 +- lib/CodeGen/MIRParser/MIRParser.cpp | 2 +- lib/CodeGen/MIRPrinter.cpp | 2 +- lib/CodeGen/MachineBasicBlock.cpp | 2 +- lib/CodeGen/MachineBlockPlacement.cpp | 6 +- lib/CodeGen/MachineFrameInfo.cpp | 39 ++++--- lib/CodeGen/MachineFunction.cpp | 2 +- lib/CodeGen/PatchableFunction.cpp | 2 +- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 29 +++-- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 6 +- lib/IR/DataLayout.cpp | 83 +++++++------- lib/IR/Instructions.cpp | 6 +- lib/IR/Value.cpp | 2 +- lib/MC/ELFObjectWriter.cpp | 12 +-- lib/MC/MCAssembler.cpp | 2 +- lib/MC/MCELFStreamer.cpp | 4 +- lib/MC/MCObjectStreamer.cpp | 2 +- lib/MC/MCWinCOFFStreamer.cpp | 4 +- lib/MC/MachObjectWriter.cpp | 12 +-- lib/Object/ArchiveWriter.cpp | 10 +- lib/Target/AArch64/AArch64AsmPrinter.cpp | 2 +- lib/Target/AArch64/AArch64CallingConvention.cpp | 6 +- lib/Target/AArch64/AArch64ISelLowering.cpp | 7 +- lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | 4 +- lib/Target/AMDGPU/R600AsmPrinter.cpp | 2 +- lib/Target/AMDGPU/SIISelLowering.cpp | 6 +- lib/Target/AMDGPU/SIISelLowering.h | 2 +- lib/Target/ARC/ARCMachineFunctionInfo.h | 2 +- lib/Target/ARM/ARMAsmPrinter.cpp | 14 +-- lib/Target/ARM/ARMBasicBlockInfo.cpp | 8 +- lib/Target/ARM/ARMBasicBlockInfo.h | 18 ++-- lib/Target/ARM/ARMConstantIslandPass.cpp | 36 +++---- lib/Target/ARM/ARMISelLowering.cpp | 8 +- lib/Target/AVR/AVRISelLowering.cpp | 2 +- lib/Target/BPF/BPFISelLowering.cpp | 4 +- lib/Target/Hexagon/HexagonBranchRelaxation.cpp | 2 +- lib/Target/Hexagon/HexagonFixupHwLoops.cpp | 2 +- lib/Target/Hexagon/HexagonFrameLowering.cpp | 2 +- lib/Target/Hexagon/HexagonISelLowering.cpp | 6 +- .../Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp | 4 +- lib/Target/Lanai/LanaiISelLowering.cpp | 4 +- lib/Target/MSP430/MSP430ISelLowering.cpp | 4 +- lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 20 ++-- lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h | 2 +- lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp | 4 +- .../Mips/MCTargetDesc/MipsTargetStreamer.cpp | 13 +-- lib/Target/Mips/MipsConstantIslandPass.cpp | 22 ++-- lib/Target/Mips/MipsISelLowering.cpp | 9 +- lib/Target/Mips/MipsSEISelDAGToDAG.cpp | 4 +- lib/Target/Mips/MipsSERegisterInfo.cpp | 2 +- lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 +- lib/Target/PowerPC/PPCBranchSelector.cpp | 14 +-- lib/Target/PowerPC/PPCISelLowering.cpp | 16 +-- lib/Target/PowerPC/PPCISelLowering.h | 2 +- lib/Target/RISCV/RISCVISelLowering.cpp | 2 +- lib/Target/Sparc/SparcISelLowering.cpp | 2 +- lib/Target/SystemZ/SystemZISelLowering.cpp | 4 +- lib/Target/SystemZ/SystemZLongBranch.cpp | 2 +- lib/Target/X86/X86AsmPrinter.cpp | 4 +- lib/Target/X86/X86ISelLowering.cpp | 4 +- lib/Target/X86/X86RetpolineThunks.cpp | 2 +- lib/Target/X86/X86TargetTransformInfo.cpp | 4 +- lib/Target/X86/X86TargetTransformInfo.h | 4 +- lib/Target/XCore/XCoreAsmPrinter.cpp | 4 +- lib/Target/XCore/XCoreISelLowering.cpp | 4 +- lib/Transforms/Utils/Local.cpp | 24 ++--- .../Vectorize/LoopVectorizationLegality.cpp | 4 +- test/CodeGen/X86/codegen-prepare-replacephi2.mir | 68 ++++++++++++ .../X86/inverse_throughput-by-opcode-name.s | 3 +- test/tools/llvm-exegesis/X86/latency-CMOV32rr.s | 3 +- test/tools/llvm-exegesis/X86/latency-SBB8rr.s | 3 +- .../llvm-exegesis/X86/latency-by-opcode-name.s | 3 +- test/tools/llvm-exegesis/X86/uops-ADD32mi8.s | 3 +- test/tools/llvm-exegesis/X86/uops-ADD32mr.s | 3 +- test/tools/llvm-exegesis/X86/uops-ADD32rm.s | 3 +- test/tools/llvm-exegesis/X86/uops-BEXTR32rm.s | 3 +- test/tools/llvm-exegesis/X86/uops-BSF16rm.s | 3 +- test/tools/llvm-exegesis/X86/uops-BTR64mr.s | 3 +- test/tools/llvm-exegesis/X86/uops-VFMADDSS4rm.s | 3 +- test/tools/llvm-exegesis/X86/uops-XCHG64rr.s | 3 +- test/tools/llvm-exegesis/X86/uops-by-opcode-name.s | 3 +- tools/dsymutil/DwarfStreamer.cpp | 4 +- tools/llvm-cov/TestingSupport.cpp | 2 +- tools/llvm-exegesis/lib/Assembler.cpp | 120 +++++++++++++-------- tools/llvm-exegesis/lib/Assembler.h | 51 ++++++++- tools/llvm-exegesis/lib/BenchmarkResult.h | 2 + tools/llvm-exegesis/lib/BenchmarkRunner.cpp | 36 +++---- tools/llvm-exegesis/lib/BenchmarkRunner.h | 4 +- tools/llvm-exegesis/lib/CMakeLists.txt | 1 + tools/llvm-exegesis/lib/SnippetGenerator.cpp | 5 +- tools/llvm-exegesis/lib/SnippetGenerator.h | 3 +- tools/llvm-exegesis/lib/SnippetRepetitor.cpp | 116 ++++++++++++++++++++ tools/llvm-exegesis/lib/SnippetRepetitor.h | 53 +++++++++ tools/llvm-exegesis/lib/Target.h | 13 ++- tools/llvm-exegesis/lib/X86/Target.cpp | 30 ++++++ tools/llvm-exegesis/llvm-exegesis.cpp | 23 +++- tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp | 2 +- .../tools/llvm-exegesis/Common/AssemblerUtils.h | 17 +-- unittests/tools/llvm-exegesis/X86/CMakeLists.txt | 1 + .../llvm-exegesis/X86/SnippetGeneratorTest.cpp | 4 +- .../llvm-exegesis/X86/SnippetRepetitorTest.cpp | 107 ++++++++++++++++++ 126 files changed, 1026 insertions(+), 556 deletions(-) create mode 100644 test/CodeGen/X86/codegen-prepare-replacephi2.mir create mode 100644 tools/llvm-exegesis/lib/SnippetRepetitor.cpp create mode 100644 tools/llvm-exegesis/lib/SnippetRepetitor.h create mode 100644 unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp