mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
da766b82ec
The 'LSL Rd' instruction is equivalent to 'ADD Rd, Rd'. llvm-svn: 341278
25 lines
525 B
YAML
25 lines
525 B
YAML
# RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - | FileCheck %s
|
|
|
|
--- |
|
|
target triple = "avr--"
|
|
define void @test() {
|
|
entry:
|
|
ret void
|
|
}
|
|
...
|
|
|
|
---
|
|
name: test
|
|
body: |
|
|
bb.0.entry:
|
|
|
|
; CHECK-LABEL: test
|
|
|
|
; CHECK: $r14 = MOVRdRr $r31
|
|
; CHECK-NEXT: $r15 = MOVRdRr $r31
|
|
; CHECK-NEXT: $r15 = ADDRdRr $r15, killed $r15, implicit-def $sreg
|
|
; CHECK-NEXT: $r15 = SBCRdRr killed $r15, killed $r15, implicit-def $sreg, implicit killed $sreg
|
|
|
|
$r15r14 = SEXT $r31, implicit-def $sreg
|
|
...
|