]> granicus.if.org Git - llvm/commit
[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)
commitc80ed278312095e47201cf352ef525975ff9ee4c
tree8015f06a13b088894b49207df74eb14e925a0ddf
parent430a32ac274507ae2708cca57e8b80237ed571ad
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsLegalizerInfo.cpp
test/CodeGen/Mips/GlobalISel/legalizer/trap.mir [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/llvm-ir/trap.ll [new file with mode: 0644]