SuccessChanges

Summary

  1. [IROutliner] Merging identical output blocks for extracted functions. (details)
  2. [CodeGen] Use llvm::append_range (NFC) (details)
  3. [Scalar] Construct SmallVector with iterator ranges (NFC) (details)
  4. [CFGPrinter] Use succ_empty (NFC) (details)
  5. [asan][test] Annotate glibc specific tests with REQUIRES: glibc-2.27 (details)
  6. [NewPM] Port infer-address-spaces (details)
  7. [test] Fix conditional-temporaries.cpp (details)
Commit 1e23802507d18ef8cb5a063325ff442ac7f527be by andrew.litteken
[IROutliner] Merging identical output blocks for extracted functions.

Many of the sets of output stores will be the same. When a block is
created, we check if there is an output block with the same set of store
instructions. If there is, we map the output block of the region back
to the block, so that the extra argument controlling the switch
statement can be set to the appropriate block value.

Tests:
- llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll

Reviewers: jroelofs, paquette

Differential Revision: https://reviews.llvm.org/D87298
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was modifiedllvm/test/Transforms/IROutliner/illegal-assumes.ll
The file was modifiedllvm/test/Transforms/IROutliner/illegal-vaarg.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-remapped-outputs.ll
The file was modifiedllvm/test/Transforms/IROutliner/illegal-memcpy.ll
The file was modifiedllvm/test/Transforms/IROutliner/illegal-memmove.ll
The file was modifiedllvm/test/Transforms/IROutliner/extraction.ll
Commit 1e3ed09165cf89b7f87318b4a5f7cab484661d49 by kazu
[CodeGen] Use llvm::append_range (NFC)
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocPBQP.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
Commit 5d2529f28f93a08c33bb3a22387e669075b66504 by kazu
[Scalar] Construct SmallVector with iterator ranges (NFC)
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 2883cd98f3c04b6ee804a5c3ad897f7f0acf0bfa by kazu
[CFGPrinter] Use succ_empty (NFC)
The file was modifiedllvm/lib/Analysis/CFGPrinter.cpp
Commit 55d13e6a867450d4a131612e4e93d60458016c8d by i
[asan][test] Annotate glibc specific tests with REQUIRES: glibc-2.27
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/swapcontext_test.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/printf-fortify-3.c
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/printf-fortify-5.c
The file was modifiedcompiler-rt/test/asan/TestCases/malloc-no-intercept.c
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/printf-fortify-1.c
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/printf-fortify-4.c
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/swapcontext_annotation.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/printf-fortify-2.c
Commit c2ef06d3dd09d4e4e9665ca9f61e7672ad937827 by aeubanks
[NewPM] Port infer-address-spaces

And add it to the AMDGPU opt pipeline.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D93880
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was addedllvm/include/llvm/Transforms/Scalar/InferAddressSpaces.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
Commit c5d100fdf2d782886215061e1ae0b4b072babce0 by aeubanks
[test] Fix conditional-temporaries.cpp

Broken by https://reviews.llvm.org/D93880.
(but now the test is much better :) )
The file was modifiedclang/test/CodeGenCXX/conditional-temporaries.cpp