mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 03:46:06 +00:00
19 lines
403 B
Plaintext
19 lines
403 B
Plaintext
![]() |
# RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
|
||
|
# REQUIRES: aarch64-registered-target
|
||
|
|
||
|
---
|
||
|
name: test_ubsantrap
|
||
|
tracksRegLiveness: true
|
||
|
liveins:
|
||
|
body: |
|
||
|
bb.0:
|
||
|
|
||
|
; CHECK: Crash kind must be 8 bit wide
|
||
|
G_UBSANTRAP 4096
|
||
|
|
||
|
; CHECK: Crash kind must be an immediate
|
||
|
%5:_(s32) = IMPLICIT_DEF
|
||
|
G_UBSANTRAP %5
|
||
|
|
||
|
...
|