brintos

brintos / llvm-project-archived public Read only

0
0
Text · 617 B · 2a26d18 Raw
25 lines · plain
1# RUN: llc -O0 -run-pass=avr-expand-pseudo -mattr=+avrtiny %s -o - | FileCheck %s2 3# This test checks the expansion of the 8-bit ROLB (rotate) pseudo instruction4# on AVRTiny.5 6--- |7  target triple = "avr--"8  define void @test_rolbrd() {9  entry:10    ret void11  }12...13 14---15name:            test_rolbrd16body: |17  bb.0.entry:18    liveins: $r2419 20    ; CHECK-LABEL: test_rolbrd21    ; CHECK:         $r24 = ADDRdRr killed $r24, killed $r24, implicit-def $sreg22    ; CHECK-NEXT:    $r24 = ADCRdRr $r24, $r17, implicit-def dead $sreg, implicit killed $sreg23    $r24 = ROLBRdR17 $r24, implicit-def $sreg, implicit $r1724...25