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

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