SuccessChanges

Summary

  1. [CGCall] Annotate references with "align" attribute. (details)
  2. [compiler-rt][scudo][LIT] Use target_suffix instead of target-arch (details)
  3. [mlir][SystemZ] Fix incompatible datalayout in SystemZ (details)
  4. [AMDGPU] Process V_MOV_B32_indirect in SET_GPR_IDX optimization (details)
  5. [Support][unittest] Fix HostTest.NumPhysicalCores on __i386__ after D78324 (details)
Commit 62f3ef2b537335fde1c17363c9440618b6fefd6a by efriedma
[CGCall] Annotate references with "align" attribute.

If we're going to assume references are dereferenceable, we should also
assume they're aligned: otherwise, we can't actually dereference them.

See also D80072.

Differential Revision: https://reviews.llvm.org/D80166
The file was modifiedclang/test/CodeGenCXX/constructor-direct-call.cpp
The file was modifiedclang/test/OpenMP/declare_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm
The file was modifiedclang/test/CodeGenCXX/eh.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/implicit-copy-constructor.mm
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-references.cl
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
The file was modifiedclang/test/CodeGenCXX/reference-cast.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-move.mm
The file was modifiedclang/test/CodeGenCXX/constructor-init.cpp
The file was modifiedclang/test/CXX/except/except.spec/p14-ir.cpp
The file was modifiedclang/test/CodeGenCXX/dllimport-members.cpp
The file was modifiedclang/test/CodeGenCXX/dllimport.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/implicit-copy-assign-operator.cpp
The file was modifiedclang/test/CodeGenCXX/goto.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-params.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/address-space-ref.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-blocks.mm
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/CodeGenCXX/mangle-lambdas.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/mangle.cpp
The file was modifiedclang/test/OpenMP/ordered_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/copy-constructor-elim-2.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/conditional-gnu-ext.cpp
The file was modifiedclang/test/Modules/templates.mm
The file was modifiedclang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGenCXX/atomic-dllexport.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-alloc.cpp
The file was modifiedclang/test/CodeGenObjCXX/objc-weak.mm
The file was modifiedclang/test/CodeGenCXX/const-init-cxx11.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/test/CodeGen/pch-dllexport.cpp
The file was modifiedclang/test/CodeGenCXX/constructors.cpp
The file was modifiedclang/test/OpenMP/atomic_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/test/CodeGenCXX/copy-assign-synthesis-1.cpp
The file was modifiedclang/test/CodeGenCXX/rvalue-references.cpp
The file was modifiedclang/test/CodeGenCXX/copy-constructor-synthesis.cpp
The file was modifiedclang/test/CodeGenObjCXX/message-reference.mm
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/fastcall.cpp
The file was modifiedclang/test/CodeGenCXX/blocks-cxx11.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp
The file was modifiedclang/test/CodeGenCXX/dllexport.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGenCXX/implicit-function-conversion.cpp
The file was modifiedclang/test/CodeGenObjC/return-objc-object.mm
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-func-arg.cpp
The file was modifiedclang/test/CodeGenCXX/catch-undef-behavior.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-object-reference-2.mm
The file was modifiedclang/test/OpenMP/declare_target_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/implicit-copy-constructor.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/CodeGenCXX/call-with-static-chain.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/test/CodeGenCXX/empty-nontrivially-copyable.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
The file was modifiedclang/test/CodeGenCXX/matrix-type.cpp
The file was modifiedclang/test/OpenMP/declare_target_link_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/pointers-to-data-members.cpp
The file was modifiedclang/test/CodeGenCXX/temporaries.cpp
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-dot-reference.mm
The file was modifiedclang/test/CodeGenCXX/convert-to-fptr.cpp
The file was modifiedclang/test/CodeGenCXX/static-init.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-objects.mm
The file was modifiedclang/test/CodeGenCXX/volatile.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/default-arg-temps.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-win-ccs.cpp
The file was modifiedclang/test/CodeGenObjCXX/lvalue-reference-getter.mm
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/regcall.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse-miscompile.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-lvalue-capture.mm
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/CodeGenCXX/wasm-args-returns.cpp
The file was modifiedclang/test/CodeGenCXX/pod-member-memcpys.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/trivial_abi.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-reference.mm
The file was modifiedclang/test/CodeGenObjCXX/implicit-copy-assign-operator.mm
The file was modifiedclang/test/OpenMP/teams_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/blocks.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-of-this.cl
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/CodeGen/align_value.cpp
The file was modifiedclang/test/CodeGenCXX/dereferenceable.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-special-member-functions.mm
The file was modifiedclang/test/CodeGenCXX/decl-ref-init.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/dllexport-members.cpp
The file was modifiedclang/test/CodeGenCXX/throw-expressions.cpp
The file was modifiedclang/test/CodeGenCXX/ext-int.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedclang/test/CodeGenCXX/derived-to-base-conv.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/nrvo.cpp
The file was modifiedclang/test/CodeGenCXX/stmtexpr.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-await.cpp
The file was modifiedclang/test/CodeGenObjCXX/lambda-expressions.mm
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/CodeGenCXX/pr28360.cpp
Commit 8d0fdd44eef636398193d7337380f6f0d5125d62 by Jinsong Ji
[compiler-rt][scudo][LIT] Use target_suffix instead of target-arch

Per target runtime dir may change the suffix of shared libs.
We can not assume we are always building with per_target_runtime_dir on.

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D80243
The file was modifiedcompiler-rt/test/scudo/lit.cfg.py
Commit 9f2ce5b915a505a5488a5cf91bb0a8efa9ddfff7 by joker.eph
[mlir][SystemZ] Fix incompatible datalayout in SystemZ

MLIR tests in "mlir/test/mlir-cpu-runner" fails in SystemZ (z14) because
of incompatible datalayout error. This patch fixes it by setting host
CPU name in createTargetMachine()

Differential Revision: https://reviews.llvm.org/D80130
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit 677929e35218f74bacdf0244e3197321abf2a4b3 by Stanislav.Mekhanoshin
[AMDGPU] Process V_MOV_B32_indirect in SET_GPR_IDX optimization

Differential Revision: https://reviews.llvm.org/D80256
The file was modifiedllvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir
Commit f7f8c1cd9ae2ac865c9243a5e2fa847dbc6b8405 by maskray
[Support][unittest] Fix HostTest.NumPhysicalCores on __i386__ after D78324
The file was modifiedllvm/unittests/Support/Host.cpp