summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/inline-asm-constraints-badI.ll
blob: 61bbfc2013547b470a97ed26691a6eb3de3f1a61 (plain)
1
2
3
4
5
6
7
; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s

define void @foo() {
  ; Out of range immediate for I.
  call void asm sideeffect "add x0, x0, $0", "I"(i32 4096)
  ret void
}