[all-commits] [llvm/llvm-project] 4bb635: [CMake] Make libLLVM functionable for Android

XinWang10 via All-commits all-commits at lists.llvm.org
Tue Jan 10 18:19:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb635f90c9e47ff65a2d58d1c77db80dc8ea273
      https://github.com/llvm/llvm-project/commit/4bb635f90c9e47ff65a2d58d1c77db80dc8ea273
  Author: Kudryashov Evgeny <ka6ash at gmail.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/tools/llvm-shlib/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Make libLLVM functionable for Android

libLLVM.so is empty if it is built with Android NDK (`-DLLVM_BUILD_LLVM_DYLIB=ON`). The patch fixes it.

Reviewed By: xbolva00

Differential Revision: https://reviews.llvm.org/D140268


  Commit: d0742ac2e531e3dc38ca22b200059cfaef85d838
      https://github.com/llvm/llvm-project/commit/d0742ac2e531e3dc38ca22b200059cfaef85d838
  Author: Wang, Xin10 <xin10.wang at intel.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512fp16-mov.ll

  Log Message:
  -----------
  [X86][CodeGen]Fix extract f16 from big vectors

When use llc -mattr=+avx512fp16, it will crash.

```
define half @test(<64 x half> %x, i64 %idx){
   %res = extractelement <64 x half> %x, i64 %idx
   ret half %res
}
```
The root cause is when we enable avx512fp16 we lose custom handler
for extract f16 from big vectors which is not loaded from pointer.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D141348


Compare: https://github.com/llvm/llvm-project/compare/5b779a3df351...d0742ac2e531


More information about the All-commits mailing list