llvm.org GIT mirror llvm / release_70 test / CodeGen / SPARC / parts.ll
release_70

Tree @release_70 (Download .tar.gz)

parts.ll @release_70

3bd3f42
 
 
 
a9a94ce
3bd3f42
a9a94ce
 
3bd3f42
 
 
 
 
 
; RUN: llc < %s -march=sparcv9    | FileCheck %s
  
; CHECK-LABEL: test
; CHECK:        srl %i1, 0, %o2
; CHECK-NEXT:   mov %i2, %o0
; CHECK-NEXT:   call __ashlti3
; CHECK-NEXT:   mov %i3, %o1
; CHECK-NEXT:   mov %o0, %i0
  
define i128 @test(i128 %a, i128 %b) {
entry:
    %tmp = shl i128 %b, %a
    ret i128 %tmp
}