[all-commits] [llvm/llvm-project] a11d1c: [builtins] Use mcr for dmb instruction on armv6

Khem Raj via All-commits all-commits at lists.llvm.org
Thu Mar 10 19:30:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a11d1cc41c725ec6dee58f75e4a852a658dd7543
      https://github.com/llvm/llvm-project/commit/a11d1cc41c725ec6dee58f75e4a852a658dd7543
  Author: Khem Raj <raj.khem at gmail.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M compiler-rt/lib/builtins/arm/sync-ops.h
    M compiler-rt/lib/builtins/assembly.h

  Log Message:
  -----------
  [builtins] Use mcr for dmb instruction on armv6

At present compiler-rt cross compiles for armv6 ( -march=armv6 ) but includes
dmb instructions which are only available in armv7+ this causes SIGILL on
clang+compiler-rt compiled components on rpi0w platforms.

Reviewed By: MaskRay

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




More information about the All-commits mailing list