summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/inline-asm-constraints-badK.ll
blob: 2b5229cd9cdebb68b0fd14f1dc0984633ef7a022 (plain)
1
2
3
4
5
6
7
; RUN: not llc -march=aarch64 < %s

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