mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-17 19:06:09 +00:00

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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289325 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|
|
|