summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/inline-asm-constraints-badL.ll
blob: e7b8173f6abed0256275feb3e19fd6cb521cfdd4 (plain)
1
2
3
4
5
6
7
8
; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s
; RUN: not llc -mtriple=arm64-apple-ios7.0 -o - %s

define void @foo() {
  ; 32-bit bitpattern ending in 1101 can't be produced.
  call void asm sideeffect "and x0, x0, $0", "L"(i32 13)
  ret void
}