Changes

Summary

  1. [GlobalISel] Re-generate some call lowering tests with the new CHECK-NEXT behaviour. (details)
  2. [ORC] Fix SimpleRemoteEPC data races. (details)
  3. [X86][FP16] Add more builtins to avoid multi evaluation problems & add 2 missed intrinsics (details)
  4. [ORC] Add missing lock to CompileOnDemandLayer::getPerDylibResources. (details)
  5. [Polly] Reject reject regions entered by an indirectbr/callbr. (details)
Commit acd13994d17fe64269f71324840bd45031a2e552 by Amara Emerson
[GlobalISel] Re-generate some call lowering tests with the new CHECK-NEXT behaviour.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/float_args.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-callingconv-ios.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-callingconv.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-sret.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-arguments.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/stack_args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-implicit-args.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/extend_args.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-s128-div.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
Commit 4b37462aab4e5f5f1ffdb04294e87b990d189751 by Lang Hames
[ORC] Fix SimpleRemoteEPC data races.

Adds a 'start' method to SimpleRemoteEPCTransport to defer transport startup
until the client has been configured. This avoids races on client members if the
first messages arrives while the client is being configured.

Also fixes races on the file descriptors in FDSimpleRemoteEPCTransport.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
Commit 7d6889964ab534164698ef134de9cf11cd87a09d by pengfei.wang
[X86][FP16] Add more builtins to avoid multi evaluation problems & add 2 missed intrinsics

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D110336
The file was modifiedllvm/include/llvm/IR/IntrinsicsX86.td
The file was modifiedclang/include/clang/Basic/BuiltinsX86.def
The file was modifiedclang/test/CodeGen/X86/avx512fp16-builtins.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Headers/avx512fp16intrin.h
Commit 1ea8d12510b9e1b208a7541c86e1b02a9a3db0e2 by Lang Hames
[ORC] Add missing lock to CompileOnDemandLayer::getPerDylibResources.

The getPerDylibResources method may be called concurrently from multiple
threads, so we need to protect access to the underlying map.

Possible for fix https://llvm.org/PR51064
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
Commit 91f46bb77e6d56955c3b96e9e844ae6a251c41e9 by llvm-project
[Polly] Reject reject regions entered by an indirectbr/callbr.

SplitBlockPredecessors is unable to insert an additional BasicBlock
between an indirectbr/callbr terminator and the successor blocks.
This is needed by Polly to normalize the control flow before emitting
its optimzed code.

This patches rejects regions entered by an indirectbr/callbr to not fail
later at code generation.

This fixes llvm.org/PR51964
The file was modifiedpolly/lib/Analysis/ScopDetectionDiagnostic.cpp
The file was modifiedpolly/include/polly/ScopDetectionDiagnostic.h
The file was modifiedpolly/lib/Analysis/ScopDetection.cpp
The file was addedpolly/test/ScopDetect/callbr.ll