[MIPS GlobalISel] Select llvm.trap intrinsic
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 5 Sep 2019 11:16:37 +0000 (11:16 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 5 Sep 2019 11:16:37 +0000 (11:16 +0000)
commitf5c7fe0795c8f2de8ee2c9fe6e8fbd89e1cf8bff
treeca8e1e66c61b9a6dc80c89f9f5e2e098a34605ed
parentd2574d79b64db47051f0ea19de184218302e322a
[MIPS GlobalISel] Select llvm.trap intrinsic

Select G_INTRINSIC_W_SIDE_EFFECTS for Intrinsic::trap for MIPS32
via legalizeIntrinsic.

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

llvm-svn: 371055
llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
llvm/test/CodeGen/Mips/GlobalISel/legalizer/trap.mir [new file with mode: 0644]
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/trap.ll [new file with mode: 0644]