SuccessChanges

Summary

  1. [X86] Remove X86ISD::MWAITX_DAG. Just match the intrinsic to the custom inserter pseudo instruction during isel. (details)
  2. [X86] Move ENCODEKEY128/256 handling from lowering to selection. (details)
  3. [X86] Add memory operand to AESENC/AESDEC Key Locker instructions. (details)
  4. [X86] LOADIWKEY, ENCODEKEY128 and ENCODEKEY256 clobber EFLAGS. (details)
  5. [lldb] [test/Register] Mark new FP reg tests XFAIL on Darwin (details)
  6. [RISCV][ASAN] unwind fixup (details)
  7. [OldPM] Pass manager: run SROA after (simple) loop unrolling (details)
Commit 7f3da488852b157e456333cc40048526409d4592 by craig.topper
[X86] Remove X86ISD::MWAITX_DAG. Just match the intrinsic to the custom inserter pseudo instruction during isel.
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-mwaitx.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver2/resources-mwaitx.s
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-mwaitx.s
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit 39fc4a0b0af69772ee360b5f729b1ec453217793 by craig.topper
[X86] Move ENCODEKEY128/256 handling from lowering to selection.

We should avoid emitting MachineSDNodes from lowering.

We can use the the implicit def handling in InstrEmitter to avoid
manually copying from each xmm result register. We only need to
manually emit the copies for the implicit uses.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit a7e45ea30d4c9c3f66f44f0e69e31eac3a22db42 by craig.topper
[X86] Add memory operand to AESENC/AESDEC Key Locker instructions.

This removes FIXMEs from selectAddr.
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86InstrKL.td
The file was modifiedllvm/test/CodeGen/X86/keylocker-intrinsics.ll
Commit ae2e51597f6e9478b7ccbdf1cf633540d7d1e8b3 by craig.topper
[X86] LOADIWKEY, ENCODEKEY128 and ENCODEKEY256 clobber EFLAGS.
The file was modifiedllvm/lib/Target/X86/X86InstrKL.td
Commit 0f08a1a5b162dcd2caf1b76827b917ca69e3e48d by Jonas Devlieghere
[lldb] [test/Register] Mark new FP reg tests XFAIL on Darwin

This is failing on GreenDragon:
http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/24066/
The file was modifiedlldb/test/Shell/Register/x86-64-fp-write.test
The file was modifiedlldb/test/Shell/Register/x86-fp-read.test
Commit 51beb0c80dc45d45efada5cd6e3a13c9fef0805c by kupokupokupopo
[RISCV][ASAN] unwind fixup

[8/11] patch series to port ASAN for riscv64

Depends On D87577

Reviewed By: eugenis, vitalybuka

Differential Revision: https://reviews.llvm.org/D87579
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp
Commit 03bd5198b6f7d9f49d72e6516d813a206f3b6d0d by lebedev.ri
[OldPM] Pass manager: run SROA after (simple) loop unrolling

I have stumbled into this pretty accidentally, when rewriting
some spaghetti-like code into something more structured,
which involved using some `std::array<>`s. And to my surprise,
the `alloca`s remained, causing about `+160%` perf regression.

https://llvm-compile-time-tracker.com/compare.php?from=bb6f4d32aac3eecb51909f4facc625219307ee68&to=d563e66f40f9d4d145cb2050e41cb961e2b37785&stat=instructions
suggests that this has geomean compile-time cost of `+0.08%`.

Note that D68593 / cecc0d27ad58c0aed8ef9ed99bbf691e137a0f26
already did this chage for NewPM, but left OldPM in a pessimized state.

This fixes [[ https://bugs.llvm.org/show_bug.cgi?id=40011 | PR40011 ]], [[ https://bugs.llvm.org/show_bug.cgi?id=42794 | PR42794 ]] and probably some other reports.

Reviewed By: nikic, xbolva00

Differential Revision: https://reviews.llvm.org/D87972
The file was modifiedllvm/test/Other/opt-O3-pipeline-enable-matrix.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/SROA-after-loop-unrolling.ll
The file was modifiedclang/test/Misc/loop-opt-setup.c
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedclang/test/CodeGenCXX/union-tbaa2.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp