AbortedChanges

Summary

  1. [X86] Check immediate before get it. (details)
  2. [ARM][NEON] Combine base address updates for vld1Ndup intrinsics (details)
  3. [clang] Implement P2266 Simpler implicit move (details)
  4. [ORC-RT] Fix a comment. (details)
  5. [JITLink][MachO] Add missing testcase. (details)
  6. [ORC-RT] Remove unused header in unit test. (details)
Commit 5be314f79ba7db0dcd6ea94b8dfcf7f03d8da89c by yuanke.luo
[X86] Check immediate before get it.

For CMP imm instruction, when the operand 1 is symbol address we should
check if it is immediate first. Here is the example code.
`CMP64mi32 $noreg, 8, killed renamable $rcx, @d, $noreg, @a, implicit-def
$eflags`
Many thanks to Craig, Topper for the test case to reproduce this issue.

Differential Revision: https://reviews.llvm.org/D104037
The file was addedllvm/test/CodeGen/X86/unfoldMemoryOperand.mir
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit f6b9836b09c78dc05abb6dfd4ad39345bc4d9f09 by kbessonova
[ARM][NEON] Combine base address updates for vld1Ndup intrinsics

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D103836
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrNEON.td
The file was modifiedllvm/test/CodeGen/ARM/arm-vlddup-update.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit bf20631782183cd19e0bb7219e908c2bbb01a75f by mizvekov
[clang] Implement P2266 Simpler implicit move

This Implements [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2266r1.html|P2266 Simpler implicit move]].

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D99005
The file was modifiedclang/test/CXX/class/class.init/class.copy.elision/p3.cpp
The file was modifiedclang/test/SemaCXX/return-stack-addr.cpp
The file was modifiedclang/test/CXX/drs/dr3xx.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/SemaCXX/coroutine-rvo.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx14.cpp
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/test/SemaCXX/deduced-return-type-cxx14.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/p4-cxx14.cpp
The file was modifiedclang/test/CXX/temp/temp.decls/temp.mem/p5.cpp
The file was modifiedclang/test/SemaCXX/coroutines.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
The file was modifiedclang/test/SemaCXX/warn-return-std-move.cpp
Commit e405db075b308094b831c99011d813e65cb6bf2c by Lang Hames
[ORC-RT] Fix a comment.
The file was modifiedcompiler-rt/lib/orc/wrapper_function_utils.h
Commit fc3ca2cc083b58780b6b3aac9d0cfac9f3be8cc7 by Lang Hames
[JITLink][MachO] Add missing testcase.

This test was accidentally left out of f9649d123db.
The file was addedllvm/test/ExecutionEngine/JITLink/X86/MachO_cstring_section_splitting.s
Commit a7c3105adb55e506e63ad63ab2110341df1ab92b by Lang Hames
[ORC-RT] Remove unused header in unit test.
The file was modifiedcompiler-rt/lib/orc/unittests/wrapper_function_utils_test.cpp
The file was modifiedcompiler-rt/lib/orc/unittests/simple_packed_serialization_test.cpp