[all-commits] [llvm/llvm-project] 019041: [GlobalISel][IRTranslator] Emit trap intrinsic for...

Amara Emerson via All-commits all-commits at lists.llvm.org
Mon Oct 4 11:02:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 019041bec32400928ec57b7e3dc1352d896aa5b6
      https://github.com/llvm/llvm-project/commit/019041bec32400928ec57b7e3dc1352d896aa5b6
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-unreachable.ll

  Log Message:
  -----------
  [GlobalISel][IRTranslator] Emit trap intrinsic for "unreachable"

We were previously just ignoring unreachable, but targets like Darwin want to
keep unreachable instructions as traps.

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




More information about the All-commits mailing list