FailedChanges

Summary

  1. Revert "SimplifyCFG: Clean up optforfuzzing implementation" (details)
  2. Revert "Revert "SimplifyCFG: Clean up optforfuzzing implementation"" (details)
  3. [sanitizer]Update tests to be compatible with Android. (details)
  4. Make APValue profiling a little more compact. (details)
  5. [FPEnv][X86][SystemZ] Use different algorithms for i64->double uint_to_fp under strictfp to avoid producing -0.0 when rounding toward negative infinity (details)
  6. [test] Fix LoopDeletion tests under NPM (details)
  7. Ensure that the "value" of an unnamed bit-field isn't taken into (details)
  8. [LSR] add testcase for LSR profitable chain change, nfc (details)
  9. [test] Fix LoopDistribute tests under NPM (details)
  10. [X86] Support customizing stack protector guard (details)
  11. [sanitizer] Allow log_path to distinguish default from explicit stderr (details)
Commit 716f7636e1ec7880a6d2f2205f54f65191cf8f9a by zequanwu
Revert "SimplifyCFG: Clean up optforfuzzing implementation"

See discussion: https://reviews.llvm.org/D89590
This reverts commit cdd006eec9409923f9a56b9026ce2cb72e7b71dc.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Commit 2f29341114ed2e32af9c68506fe9a7f6868675e2 by zequanwu
Revert "Revert "SimplifyCFG: Clean up optforfuzzing implementation""

This reverts commit 716f7636e1ec7880a6d2f2205f54f65191cf8f9a.
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 3b3aef198bb86574ef5c9d28a8b81eef3b42dcdb by Vitaly Buka
[sanitizer]Update tests to be compatible with Android.

Split off from D89251

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D89884
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/use_registers.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/suppressions_file.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/log-path_test.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/disabler.cpp
The file was modifiedcompiler-rt/test/lit.common.cfg.py
The file was modifiedcompiler-rt/test/lsan/TestCases/many_threads_detach.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/swapcontext.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/disabler_in_tsd_destructor.c
The file was modifiedcompiler-rt/test/lsan/TestCases/disabler.c
The file was modifiedcompiler-rt/test/asan/lit.cfg.py
The file was modifiedcompiler-rt/test/lsan/TestCases/large_allocation_leak.cpp
The file was modifiedcompiler-rt/test/lsan/lit.common.cfg.py
The file was modifiedcompiler-rt/test/asan/TestCases/coverage-and-lsan.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/ignore_object.c
The file was modifiedcompiler-rt/test/lsan/TestCases/stale_stack_leak.cpp
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/guard-page.c
The file was modifiedcompiler-rt/test/lsan/TestCases/strace_test.cpp
Commit e04ba2bc052f20fe745894b24b0f9b335db5abbc by richard
Make APValue profiling a little more compact.
The file was modifiedclang/lib/AST/APValue.cpp
Commit 9e884169a2723de5ad5c59af69b35b20953965fa by craig.topper
[FPEnv][X86][SystemZ] Use different algorithms for i64->double uint_to_fp under strictfp to avoid producing -0.0 when rounding toward negative infinity

Some of our conversion algorithms produce -0.0 when converting unsigned i64 to double when the rounding mode is round toward negative. This switches them to other algorithms that don't have this problem. Since it is undefined behavior to change rounding mode with the non-strict nodes, this patch only changes the behavior for strict nodes.

There are still problems with unsigned i32 conversions too which I'll try to fix in another patch.

Fixes part of PR47393

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D87115
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-conv-08.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-inttofp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-512.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 716338a09ad93e7a9df8f2570b848ef5feeb7519 by aeubanks
[test] Fix LoopDeletion tests under NPM
The file was modifiedllvm/test/Transforms/LoopDeletion/2017-07-11-incremental-dt.ll
The file was modifiedllvm/test/Transforms/LoopDeletion/update-scev.ll
Commit 81560743527e127ff8e47384db5dd60c7c40f153 by richard
Ensure that the "value" of an unnamed bit-field isn't taken into
account when determining the identity of a class NTTP.
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype_cxx20.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 2d71f26c8193ef359380246e5b0670db2ec9b9f6 by czhengsz
[LSR] add testcase for LSR profitable chain change, nfc
The file was addedllvm/test/CodeGen/PowerPC/lsr-profitable-chain.ll
Commit 007ffdc18c503094e705ffcdd3ad51b829b77348 by aeubanks
[test] Fix LoopDistribute tests under NPM
The file was modifiedllvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
The file was modifiedllvm/test/Transforms/LoopDistribute/basic.ll
Commit 7c3fea7721e421de235917d9454d448f976500fc by xiang1.zhang
[X86] Support customizing stack protector guard

Reviewed By: nickdesaulniers, MaskRay

Differential Revision: https://reviews.llvm.org/D88631
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was addedclang/test/Driver/stack-protector-guard.c
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/CodeGen/StackProtector.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
The file was addedllvm/test/CodeGen/X86/stack-protector-3.ll
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 1bb68c9b189ffd081640e56cbfea777f484f4002 by tejohnson
[sanitizer] Allow log_path to distinguish default from explicit stderr

Split out of D89086 as suggested.

Change the default of the log_path flag to nullptr, and the code
consuming that flag (ReportFile::SetReportPath), to treat nullptr as
stderr (so no change to the behavior of existing users). This allows
code to distinguish between the log_path being specified explicitly as
stderr vs the default.

This is so the flag can be used to override the new report path variable
that will be encoded in the binary for memprof for runtime testing.

Differential Revision: https://reviews.llvm.org/D89629
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flags.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.cpp