There was a bug where we would hit an assertion if 'Q' was used as a constraint. I also removed hardcoded register names to prefer regexes so the tests don't break when the register allocator changes. llvm-svn: 289325
9 lines
165 B
LLVM
9 lines
165 B
LLVM
; RUN: llc < %s -march=avr | FileCheck %s
|
|
|
|
; CHECK-LABEL: foo
|
|
define void @foo(i16 %a) {
|
|
call void asm sideeffect "add $0, $0", "Z"(i16 %a) nounwind
|
|
ret void
|
|
}
|
|
|