blob: 64388933fda88b66b8728494a3f4c88f3641270c [file] [log] [blame]
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
--- |
declare void @llvm.trap()
define void @f() { ret void }
...
---
name: f
alignment: 4
body: |
bb.1 (%ir-block.0):
; MIPS32-LABEL: name: f
; MIPS32: TRAP
; MIPS32: RetRA
G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.trap)
RetRA
...