Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. (details)
  2. [Clang] Add clang attribute `clang_builtin_alias`. (details)
  3. [ORC][C-bindings] Fix missing ')' in comments. (details)
  4. [Clang] Fixup for D100611 (details)
  5. [X86] Support AMX fast register allocation (details)
  6. [X86] Refine AMX fast register allocation (details)
Commit 5e537ea1d7a937f848ff1c0fc691d5a5afdf2459 by Lang Hames
[ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes.

This reapplies 1e1d75b190c, which was reverted in ce1a4d53231 due to build

The unconditional dependencies on clang and llvm-jitlink in
compiler-rt/test/orc/CMakeLists.txt have been removed -- they don't appear to
be necessary, and I suspect they're the cause of the build failures seen
The file was addedcompiler-rt/lib/orc/placeholder.cpp
The file was addedcompiler-rt/test/orc/TestCases/Darwin/x86-64/
The file was addedcompiler-rt/lib/orc/CMakeLists.txt
The file was modifiedcompiler-rt/test/CMakeLists.txt
The file was addedcompiler-rt/test/orc/TestCases/Darwin/
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was addedcompiler-rt/test/orc/
The file was modifiedcompiler-rt/CMakeLists.txt
The file was addedcompiler-rt/test/orc/CMakeLists.txt
The file was addedcompiler-rt/test/orc/
The file was modifiedcompiler-rt/lib/CMakeLists.txt
The file was addedcompiler-rt/test/orc/TestCases/Darwin/x86-64/placeholder_test.S
Commit 108864397d26ffff39267f417cabc7f248431437 by
[Clang] Add clang attribute `clang_builtin_alias`.

In some cases, we want to provide the alias name for the clang builtins.
For example, the arguments must be constant integers for some RISC-V builtins.
If we use wrapper functions, we could not constrain the arguments be constant
integer. This attribute is used to achieve the purpose.

Besides this, use `clang_builtin_alias` is more efficient than using
wrapper functions. We use this attribute to deal with test time issue
reported in

In our downstream testing, it could decrease the testing time from 6.3
seconds to 3.7 seconds for vloxei.c test.

Differential Revision:
The file was modifiedclang/include/clang/Basic/
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test
The file was addedclang/test/CodeGen/RISCV/riscv-attr-builtin-alias-err.c
The file was modifiedclang/include/clang/Basic/
The file was addedclang/test/CodeGen/RISCV/riscv-attr-builtin-alias.c
The file was modifiedclang/include/clang/Basic/
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
Commit c572ff840f63a8ce58a922d44d0fa53f25636125 by Lang Hames
[ORC][C-bindings] Fix missing ')' in comments.
The file was modifiedllvm/include/llvm-c/Orc.h
Commit e6131f7ee54e1660be519fc7172fbbbc2b4da803 by
[Clang] Fixup for D100611
The file was modifiedclang/include/clang/Basic/
Commit 3b8ec86fd576b9808dc63da620d9a4f7bbe04372 by xiang1.zhang
[X86] Support AMX fast register allocation

Differential Revision:
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-low-intrinsics-no-amx-bitcast.ll
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO2toO0-precfg.ll
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO2toO0.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-low-intrinsics.ll
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO0toO0.ll
The file was modifiedllvm/lib/Target/X86/X86LowerAMXType.cpp
The file was modifiedllvm/lib/Target/X86/X86.h
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was addedllvm/test/CodeGen/X86/AMX/amx-fast-tile-config.mir
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/lib/Target/X86/X86PreAMXConfig.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h
The file was modifiedllvm/lib/Target/X86/CMakeLists.txt
The file was modifiedllvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/
The file was addedllvm/test/CodeGen/X86/AMX/amx-configO2toO0-lower.ll
The file was addedllvm/lib/Target/X86/X86FastTileConfig.cpp
Commit c3f95e9197643b699b891ca416ce7d72cf89f5fc by xiang1.zhang
[X86] Refine AMX fast register allocation
The file was modifiedllvm/lib/Target/X86/X86PreAMXConfig.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-configO2toO0-precfg.ll