[all-commits] [llvm/llvm-project] 5b2757: [builtins][LoongArch] Port __clear_cache to LoongA...

Lu Weining via All-commits all-commits at lists.llvm.org
Tue Nov 1 05:16:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b27578fc52bdf06e2d81a271705a39266b047fe
      https://github.com/llvm/llvm-project/commit/5b27578fc52bdf06e2d81a271705a39266b047fe
  Author: Youling Tang <tangyouling at loongson.cn>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M compiler-rt/lib/builtins/clear_cache.c

  Log Message:
  -----------
  [builtins][LoongArch] Port __clear_cache to LoongArch Linux

There are two failures in the current builtins,
Failed Tests (2):
  Builtins-loongarch64-linux :: clear_cache_test.c
  Builtins-loongarch64-linux :: enable_execute_stack_test.c

It is caused by __clear_cache not being implemented and triggering `abort`.

"__clear_cache" is implemented in the same way as "clear_cache" in gcc (
in gcc/config/loongarch/loongarch.md)

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




More information about the All-commits mailing list