FailedChanges

Summary

  1. [lldb] Fix windows build for fa5fa63fd140f (details)
  2. [libomptarget][amdgcn] Refactor memcpy to eliminate maps (details)
  3. AMDGPU: Propagate amdgpu-flat-work-group-size attributes (details)
  4. AMDGPU: Lower the threshold reported for maximum stack size exceeded (details)
  5. [mlir]: Clarify docs for external OpTrait::FunctionLike ops (details)
  6. [mlir][gpu] Add customer printer/parser for gpu.launch_func. (details)
  7. [mlir][gpu] Add lowering to LLVM for `gpu.wait` and `gpu.wait async`. (details)
  8. [AMDGPU] Refactor SOPC & SOPP .td for extension (details)
  9. Use -### in arm-float-abi.c test (details)
  10. [gn build] (manually) port 54fa9ecd3088 (details)
  11. [gn build] (manually) port 5d796645d6c8cade (libcxx __config change) (details)
  12. [libc++] Fix the installation of libc++ headers since the __config_site change (details)
  13. [gn build] try to fix up deps of __config_site after 37c030f81a (details)
  14. [clang] Improve Serialization/Imporing/Dumping of APValues (details)
  15. [X86] Regenerate old vector-variable-insertion test (details)
  16. [X86] Improve variable vector insertion test coverage. (details)
  17. [ELF] --gc-sections: retain dependent sections of non-SHF_ALLOC sections (details)
  18. [AMDGPU] Fixed v_swap_b32 match (details)
  19. [flang] Another validity of the TARGET= argument of ASSOCIATED() for objects (details)
  20. [NFC] Fix the definition of SuitableAlign (details)
  21. Fix missing c++ mode comment (details)
  22. [ARM][SchedModels] Convert IsLdrAm3RegOffPred to MCSchedPredicate (details)
  23. [libomptarget] Require LLVM source tree to build libomptarget (details)
  24. [NFC] Clean up always false variables (details)
  25. [gn build] try to fix clang build after 37c030f81a9fdd (details)
  26. [NFC][OpenMP] Update description of OMPGridValues enums (details)
  27. [ARM] add cost-kind tests for intrinsics; NFC (details)
  28. [CostModel] remove cost-kind predicate for scatter/gather cost (details)
  29. [mlir] Add structural type conversions for SCF dialect. (details)
  30. [mlir][shape] Split out structural type conversions for shape dialect. (details)
  31. [mlir][CAPI][Python] Plumb OpPrintingFlags to C and Python APIs. (details)
  32. [NFC] Fixes Doxygen copy-paste error. (details)
  33. [RS4GC] NFC. Preparatory refactoring to make GC parseable memcpy (details)
  34. [LowerMatrixIntrinsics][NewPM] Fix PreservedAnalyses result (details)
  35. [sanitizer] Convert PrintModuleMap to DumpProcessMap (details)
  36. [BlockExtract][NewPM] Port -extract-blocks to NPM (details)
  37. [libcxxabi] Stub out 'sleep' call when _LIBCXXABI_HAS_NO_THREADS is defined. (details)
Commit d900b755ed003967d1c9675b62293414831db1b6 by pavel
[lldb] Fix windows build for fa5fa63fd140f
The file was modifiedlldb/tools/lldb-server/lldb-gdbserver.cpp
Commit 55dc123555dbb3e7ca717c1ecc0ab6cd934bdee5 by jonchesterfield
[libomptarget][amdgcn] Refactor memcpy to eliminate maps

[libomptarget][amdgcn] Refactor memcpy to eliminate maps

Builds on D89776 to remove now dead code.

Reviewed By: pdhaliwal

Differential Revision: https://reviews.llvm.org/D89888
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/data.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
The file was removedopenmp/libomptarget/plugins/amdgpu/impl/data.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.cpp
Commit 53c43431bc6a01ad1e29b9351450ac18d5270ab3 by Matthew.Arsenault
AMDGPU: Propagate amdgpu-flat-work-group-size attributes

Fixes being overly conservative with the register counts in called
functions. This should try to do a conservative range merge, but for
now just clone.

Also fix not being able to functionally run the pass standalone.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
The file was addedllvm/test/CodeGen/AMDGPU/propagate-attributes-flat-work-group-size.ll
Commit 1ed4caff1d5cd49233c1ae7b9f6483a946ed5eea by Matthew.Arsenault
AMDGPU: Lower the threshold reported for maximum stack size exceeded

Check the actual maximum supported stack size for a kernel.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-size-overflow.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Commit 4b7dafd9046f0ceaadacaafe0ea4a1fb00cf70a5 by zinenko
[mlir]: Clarify docs for external OpTrait::FunctionLike ops

The documentation claims that an op with the trait FunctionLike has a
single region containing the blocks that corresponding to the body of
the function. It then goes on to say that the absence of a region
corresponds to an external function when, in fact, this is represented
by a single empty region. This patch changes the wording in the
documentation to match the implementation.

Signed-off-by: Frej Drejhammar <frej.drejhammar@gmail.com>
Co-authored-by: Frej Drejhammar <frej.drejhammar@gmail.com>
Co-authored-by: Klas Segeljakt <klasseg@kth.se>

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D89868
The file was modifiedmlir/docs/Traits.md
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
Commit 1c1803dbb0f6a4a9bef557d98b4f3a498eb1bf75 by csigg
[mlir][gpu] Add customer printer/parser for gpu.launch_func.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D89262
The file was modifiedmlir/include/mlir/IR/FunctionImplementation.h
The file was modifiedmlir/lib/IR/FunctionImplementation.cpp
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
Commit 3ac561d8c348a7bdc0313a268d5b3b4dcac118a2 by csigg
[mlir][gpu] Add lowering to LLVM for `gpu.wait` and `gpu.wait async`.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D89686
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was addedmlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir
Commit f6d7832f4cf8addc0e733df7c7b917959edf7f01 by Joseph.Nash
[AMDGPU] Refactor SOPC & SOPP .td for extension

We use the Real vs Pseudo instruction abstraction for other
types of instructions to facilitate changes in opcode
between gpu generations.
This patch introduces that abstraction to SOPC and SOPP.

Reviewed By: rampitec

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

Change-Id: I59d53c2c7058b49d05b60350f4062a9b542d3138
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
Commit ba60de5250ce1c4baa4a7bb7098ac67349f88a99 by john.brawn
Use -### in arm-float-abi.c test

This is needed to prevent the test from failing when llvm is
configured so that the arm target is not present, which is the case
for some buildbots.
The file was modifiedclang/test/Driver/arm-float-abi.c
Commit 4a8b52b53de640022a7eca0dbcefa61802cf63b0 by thakis
[gn build] (manually) port 54fa9ecd3088
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 37c030f81a9fdd7a7e1b6fa5407b277c1ab1afa1 by thakis
[gn build] (manually) port 5d796645d6c8cade (libcxx __config change)
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
Commit b5aa67446e01bd277727b05710a42e69ac41e74b by Louis Dionne
[libc++] Fix the installation of libc++ headers since the __config_site change
The file was modifiedlibcxx/include/CMakeLists.txt
Commit 8b7dac81d378c339d3e55f6f51cd0c42803903ad by thakis
[gn build] try to fix up deps of __config_site after 37c030f81a
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit cf34dd0c4e84b69bb901f9cd4f3491852238ec44 by tyker
[clang] Improve Serialization/Imporing/Dumping of APValues

Changes:
- initializer expressions of constexpr variable are now wraped in a ConstantExpr. this is mainly used for testing purposes. the old caching system has not yet been removed.
- Add all the missing Serialization and Importing for APValue.
- Improve dumping of APValue when ASTContext isn't available.
- Cleanup leftover from last patch.
- Add Tests for Import and serialization.

Differential Revision: https://reviews.llvm.org/D63640
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was addedclang/test/ASTMerge/APValue/APValue.cpp
The file was modifiedclang/include/clang/AST/ASTImporter.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/AST/APValue.h
Commit f4bd0f01312dbe6d441197cd484d6497da0e1598 by llvm-dev
[X86] Regenerate old vector-variable-insertion test
The file was modifiedllvm/test/CodeGen/X86/2009-06-05-VariableIndexInsert.ll
Commit cdc90ec7876d3d6b343aa2917e6e3d5436c0a99e by llvm-dev
[X86] Improve variable vector insertion test coverage.

Add tests for insertion into non-undef vectors

Add SSE2/AVX512F/AVX512BW coverage
The file was modifiedllvm/test/CodeGen/X86/insertelement-var-index.ll
Commit b6e4aae2cc269bbdce9263cd49dcd582840b333a by i
[ELF] --gc-sections: retain dependent sections of non-SHF_ALLOC sections

Fix http://lists.llvm.org/pipermail/llvm-dev/2020-October/145908.html

Currently non-SHF_ALLOC SHT_REL[A] (due to --emit-relocs) and SHF_LINK_ORDER are not
marked live.

Reviewed By: grimar, psmith

Differential Revision: https://reviews.llvm.org/D89841
The file was modifiedlld/test/ELF/gc-sections-linkorder2.s
The file was modifiedlld/ELF/MarkLive.cpp
Commit 611959f004d78f99e45fdc940a7a4322b85d04d9 by Stanislav.Mekhanoshin
[AMDGPU] Fixed v_swap_b32 match

1. Fixed liveness issue with implicit kills.
2. Fixed potential problem with an indirect mov.

Fixes: SWDEV-256848

Differential Revision: https://reviews.llvm.org/D89599
The file was modifiedllvm/test/CodeGen/AMDGPU/v_swap_b32.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
Commit 6b66f1cd9ba4533904a733329890e911ae0f5f6f by psteinfeld
[flang] Another validity of the TARGET= argument of ASSOCIATED() for objects

In my previous implementation of the semantic checks for ASSOCIATED(), I
had neglected to check the TARGET= argument for objects to ensure that
it has either the POINTER or TARGET attributes.

I added an implementation and a test.

Differential Revision: https://reviews.llvm.org/D89717
The file was modifiedflang/test/Semantics/associated.f90
The file was modifiedflang/lib/Evaluate/intrinsics.cpp
Commit cf11f017af32a797e301f56b163a989ad73630fa by Xiangling.Liao
[NFC] Fix the definition of SuitableAlign
The file was modifiedclang/include/clang/Basic/TargetInfo.h
Commit 817cd3d191be44067c1d037729e0cdfe89e35a77 by arsenm2
Fix missing c++ mode comment
The file was modifiedllvm/include/llvm/LTO/Config.h
Commit bf9edcb6fda7e19487c2dca605a95e8a6779a80a by eleviant
[ARM][SchedModels] Convert IsLdrAm3RegOffPred to MCSchedPredicate

Differential revision: https://reviews.llvm.org/D89876
The file was modifiedllvm/lib/Target/ARM/ARMScheduleA57.td
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/test/tools/llvm-mca/ARM/cortex-a57-memory-instructions.s
Commit 26790ed248870a1e293e844945bf677825a43084 by jonathanchesterfield
[libomptarget] Require LLVM source tree to build libomptarget

[libomptarget] Require LLVM source tree to build libomptarget

This is to permit reliably #including files from the LLVM tree in libomptarget,
as an improvement on the copy and paste that is currently in use. See D87841
for the first example of removing duplication given this new requirement.

The weekly openmp dev call reached consensus on this approach. See also D87841
for some alternatives that were considered. In the future, we may want to
introduce a new top level repo for shared constants, or start using the ADT
library within openmp.

This will break sufficiently exotic build systems, trivial fixes as below.

Building libomptarget as part of the monorepo will continue to work.
If openmp is built separately, it now requires a cmake macro indicating
where to find the LLVM source tree.

If openmp is built separately, without the llvm source tree already on disk,
the build machine will need a copy of a subset of the llvm source tree and
the cmake macro indicating where it is.

Reviewed By: protze.joachim

Differential Revision: https://reviews.llvm.org/D89426
The file was modifiedopenmp/libomptarget/plugins/amdgpu/CMakeLists.txt
The file was modifiedopenmp/CMakeLists.txt
The file was modifiedopenmp/libomptarget/CMakeLists.txt
Commit 958abe01802ca33d506e54f88f6a2563b95154f5 by aeubanks
[NFC] Clean up always false variables

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D89023
The file was modifiedllvm/lib/Analysis/RegionPass.cpp
The file was modifiedllvm/include/llvm/Analysis/RegionPass.h
Commit b3ca53e14274642274be8fe7db8b43dc3c146366 by thakis
[gn build] try to fix clang build after 37c030f81a9fdd

37c030f81a9fdd made it so that depending on //libcxx/include
automatically added the copied header dir to the include search path.
For some reason, clang can't build against the copied libcxx headers
(it complains about ldiv_t not being a type). I don't have a mac
to debug right now, but for the clang target this change was
unintentional anyways -- only depend on the copies target, instead
of on the target that also adjusts the include path.
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
Commit cb319b1b5d9346a67c2f2a829d3dace58dff5861 by Saiyedul.Islam
[NFC][OpenMP] Update description of OMPGridValues enums

Update comments describing how OMPGridValues enums will be used in
clang, deviceRTLs, and hsa and cuda plugins.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D86232
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
Commit 729610a51a4581ea923e6fb2ca1bfa7287022ec7 by spatel
[ARM] add cost-kind tests for intrinsics; NFC

This is a copy of the x86 file to provide better coverage;
x86 may have strange overrides that mask changes in the
generic model.
The file was addedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
Commit c963bde0152a741d58b9e1e9ac485d8f2e6c6d58 by spatel
[CostModel] remove cost-kind predicate for scatter/gather cost

This is similar in spirit to 01ea93d85d6e (memcpy) except that
here the underlying caller assumptions were created for vectorizer
use (throughput) rather than other passes.

That meant ARM could have an enormous throughput cost with no
corresponding size, latency, or blended cost increase. X86 has
the same throughput restriction as the basic implementation, so
it is still unchanged.

Paraphrasing from the previous commit:
This may not make sense for some callers, but at least now the
costs will be consistently wrong instead of mysteriously wrong.

Targets should provide better overrides if the current modeling
is not accurate.
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
Commit f0292ede9bbf8a24607c926b0439db20c203607a by silvasean
[mlir] Add structural type conversions for SCF dialect.

A "structural" type conversion is one where the underlying ops are
completely agnostic to the actual types involved and simply need to update
their types. An example of this is scf.if -- the scf.if op and the
corresponding scf.yield ops need to update their types accordingly to the
TypeConverter, but otherwise don't care what type conversions are happening.

To test the structural type conversions, it is convenient to define a
bufferize pass for a dialect, which exercises them nicely.

Differential Revision: https://reviews.llvm.org/D89757
The file was modifiedmlir/include/mlir/Dialect/SCF/Passes.td
The file was addedmlir/lib/Dialect/SCF/Transforms/Bufferize.cpp
The file was addedmlir/test/Dialect/SCF/bufferize.mlir
The file was modifiedmlir/lib/Transforms/Bufferize.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/Passes.h
The file was modifiedmlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/include/mlir/Dialect/SCF/Transforms.h
The file was addedmlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp
Commit 57b338c08a4942bda6e58c77870c657c53b6fb5b by silvasean
[mlir][shape] Split out structural type conversions for shape dialect.

A "structural" type conversion is one where the underlying ops are
completely agnostic to the actual types involved and simply need to update
their types. An example of this is shape.assuming -- the shape.assuming op
and the corresponding shape.assuming_yield op need to update their types
accordingly to the TypeConverter, but otherwise don't care what type
conversions are happening.

Also, the previous conversion code would not correctly materialize
conversions for the shape.assuming_yield op. This should have caused a
verification failure, but shape.assuming's verifier wasn't calling
RegionBranchOpInterface::verifyTypes (which for reasons can't be called
automatically as part of the trait verification, and requires being
called manually). This patch also adds that verification.

Differential Revision: https://reviews.llvm.org/D89833
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was addedmlir/lib/Dialect/Shape/Transforms/StructuralTypeConversions.cpp
The file was modifiedmlir/test/Dialect/Shape/bufferize.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/Transforms/Passes.h
The file was modifiedmlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
The file was modifiedmlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
Commit 74a58ec9c27f48eb26094667156934c6ca9d0012 by stellaraccident
[mlir][CAPI][Python] Plumb OpPrintingFlags to C and Python APIs.

* Adds a new MlirOpPrintingFlags type and supporting accessors.
* Adds a new mlirOperationPrintWithFlags function.
* Adds a full featured python Operation.print method with all options and the ability to print directly to files/stdout in text or binary.
* Adds an Operation.get_asm which delegates to print and returns a str or bytes.
* Reworks Operation.__str__ to be based on get_asm.

Differential Revision: https://reviews.llvm.org/D89848
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was modifiedmlir/include/mlir-c/IR.h
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/test/Bindings/Python/ir_operation.py
The file was modifiedmlir/include/mlir/CAPI/IR.h
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
Commit b3881d01abcbc519032e0c942f90124f2bdba56a by koraq
[NFC] Fixes Doxygen copy-paste error.
The file was modifiedclang/lib/Sema/TreeTransform.h
Commit e8cce5ad892d21c9b51c656178a198cddb175ac4 by apilipenko
[RS4GC] NFC. Preparatory refactoring to make GC parseable memcpy

For GC parseable element atomic memcpy/memmove we'll need to
shuffle statepoint arguments. Make it possible by storing the
arguments as Value *, not Use *.
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit aa6c305344e5e96bc12b1b9b88cd852a290de914 by aeubanks
[LowerMatrixIntrinsics][NewPM] Fix PreservedAnalyses result

PreservedCFGCheckerInstrumentation was saying that LowerMatrixIntrinsics
didn't properly preserve CFG even though it claimed to. The legacy pass
says it doesn't. Match the legacy pass's preserved analyses.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D89175
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit 31bc55d602a09241f6d126ca9315e7ddc3d92555 by tejohnson
[sanitizer] Convert PrintModuleMap to DumpProcessMap

As discussed in the review for D87120 (specifically at
https://reviews.llvm.org/D87120#inline-831939), clean up PrintModuleMap
and DumpProcessMap usage differences. The former is only implemented for
Mac OSX, whereas the latter is implemented for all OSes. The former is
called by asan and tsan, and the latter by hwasan and now memprof, under
the same option. Simply rename the PrintModuleMap implementation for Mac
to DumpProcessMap, remove other empty PrintModuleMap implementations,
and convert asan/tsan to new name. The existing posix DumpProcessMap is
disabled for SANITIZER_MAC.

Differential Revision: https://reviews.llvm.org/D89630
The file was modifiedcompiler-rt/lib/asan/asan_rtl.cpp
The file was modifiedcompiler-rt/lib/asan/asan_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_rtems.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
Commit 8d9466a3850b8f213b817075ede0fdec8526b7a7 by aeubanks
[BlockExtract][NewPM] Port -extract-blocks to NPM

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D89015
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was modifiedllvm/test/Transforms/BlockExtractor/extract-blocks.ll
The file was addedllvm/include/llvm/Transforms/IPO/BlockExtractor.h
The file was modifiedllvm/lib/Transforms/IPO/BlockExtractor.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 272279a1c0fa4142e599aecdc75ef68720a81607 by abidh
[libcxxabi] Stub out 'sleep' call when _LIBCXXABI_HAS_NO_THREADS is defined.

While running this test on a bare metal target, I got an error as 'sleep' was not available on that system. As 'sleep' call is not doing anything useful for cases when _LIBCXXABI_HAS_NO_THREADS is defined. This patch puts it under this check.

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D89871
The file was modifiedlibcxxabi/test/test_exception_storage.pass.cpp