FailedChanges

Summary

  1. Revert "Re-land "[Driver] Support default libc++ library location on Darwin"" (details)
  2. [dfsan] Fix Len argument type in call to __dfsan_mem_transfer_callback (details)
  3. [AST] Enable AST node introspection on Apple (details)
  4. [Hexagon] Improve lowering of returns of i1 (details)
  5. [RISCV] Fix crash with fptosi.sat/fptoui.sat intrinsics on RV64. Add test cases. (details)
Commit d5f433d3302eedd455889d581d8312715289b582 by phosek
Revert "Re-land "[Driver] Support default libc++ library location on Darwin""

This reverts commit 6331680ad2ad000fdaf7e72f3c1880c7908ffa25 because
this breaks the compiler-rt build.
The file was modifiedclang/test/Driver/darwin-ld.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit 2627f99613740b8f8a85e150dc0e4c4b6fa6e13f by jianzhouzh
[dfsan] Fix Len argument type in call to __dfsan_mem_transfer_callback

This patch is supposed to solve: https://bugs.llvm.org/show_bug.cgi?id=50075

The function `__dfsan_mem_transfer_callback` takes a `Len` argument of type `i64`; however, when processing a `MemTransferInst` such as `llvm.memcpy.p0i8.p0i8.i32`, the `len` argument has type `i32`. In order to make the type of `len` compatible with the one of the callback argument, this change zero-extends it when necessary.

Reviewed By: stephan.yichao.zhao, gbalats

Differential Revision: https://reviews.llvm.org/D101048
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Commit 907409a536cd66a09a91ee28e1f6f8bcc7127bc7 by steveire
[AST] Enable AST node introspection on Apple

This was previously excluded due to possible buildbot failures.
The file was modifiedclang/lib/Tooling/CMakeLists.txt
Commit 06234f758e1945084582cf80450b396f75a9c06e by kparzysz
[Hexagon] Improve lowering of returns of i1

Emit explicit any-extend to avoid weird tstbit sequences.
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_lt.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_ugti.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_ugt.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_gt.ll
The file was modifiedllvm/test/CodeGen/Hexagon/predicate-copy.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_eq.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_ult.ll
The file was modifiedllvm/test/CodeGen/Hexagon/isel/logical.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_eqi.ll
The file was modifiedllvm/test/MC/Hexagon/inst_cmp_gti.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
Commit 5185b52988c5874dd46b2cc17685b78cd64609c1 by craig.topper
[RISCV] Fix crash with fptosi.sat/fptoui.sat intrinsics on RV64. Add test cases.

Add PromoteIntOp_FP_TO_XINT_SAT to type legalize the bit width
operand from i32 to i64 for RV64.

Add test cases for the saturating intrinsics for half/float/double
and i32/i64. CodeGen is definitely not optimal. We can probably
make use of the native behavior of fcvt instructions in many cases.

Fixes PR50083
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/test/CodeGen/RISCV/half-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-convert.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/RISCV/float-convert.ll