SuccessChanges

Summary

  1. Revert "[HIP] Fix -gsplit-dwarf option" (details)
  2. Fixes complexity of map insert_or_assign with a hint. (details)
  3. [ConstantFolding] add undef handling for fmin/fmax intrinsics (details)
  4. [InstCombine] regenerate test checks; NFC (details)
Commit 2819cea2ef8aab9d7ef8ba29feec9cb58cc942f6 by Yaxun.Liu
Revert "[HIP] Fix -gsplit-dwarf option"

This reverts commit e50465ecefc964e5700df26fc7e02a673eed085a
due to regression in lldb tests.
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp (diff)
The file was removedclang/test/Driver/hip-gsplit-dwarf-options.hip
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.h (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/MinGW.cpp (diff)
Commit d4dd961300588ce7e50625a1947befb45e3a0c42 by koraq
Fixes complexity of map insert_or_assign with a hint.

Mitsuru Kariya reported the map operations insert_or_assign with a hint
violates the complexity requirement. The function no longer uses a lower_bound,
which caused the wrong complexity.

Fixes PR38722: [C++17] std::map::insert_or_assign w/ hint violate complexity requirements

Differential Revision: https://reviews.llvm.org/D62779
The file was modifiedlibcxx/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp (diff)
The file was modifiedlibcxx/include/map (diff)
The file was modifiedlibcxx/include/__tree (diff)
Commit f74a334fe35bcea08a48f76462782f0eafc6d564 by spatel
[ConstantFolding] add undef handling for fmin/fmax intrinsics

The output here may not be optimal (yet), but it should be
consistent for commuted operands (it was not before) and
correct. We can do better by checking FMF and NaN if needed.

Code in InstSimplify generally assumes that we have already
folded code like this, so it was not handling 2 constant
inputs by commuting consistently.
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll (diff)
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp (diff)
Commit 2c3d199fbfaa51f12a82d30c6b07f92acf470e15 by spatel
[InstCombine] regenerate test checks; NFC
The file was modifiedllvm/test/Transforms/InstCombine/zext-or-icmp.ll (diff)