aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/inline-asm-constraints-badK2.ll
blob: 172601301993a932bc2c35a341c0e9e45c404568 (plain) (blame)
1
2
3
4
5
6
7
; RUN: not llc -mtriple=aarch64-none-linux-gnu -o - %s

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