mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
23a3720448
This ensures the inline assembly register constraints are properly recognised in TargetLowering::getRegForInlineAsmConstraint. llvm-svn: 217479
14 lines
265 B
LLVM
14 lines
265 B
LLVM
; RUN: llc < %s | FileCheck %s
|
|
|
|
target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
|
|
target triple = "msp430---elf"
|
|
|
|
define void @test() {
|
|
entry:
|
|
; CHECK-LABEL: test:
|
|
; CHECK: push.w r10
|
|
call void asm sideeffect "", "~{r10}"()
|
|
; CHECK: pop.w r10
|
|
ret void
|
|
}
|