Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -O0 -mcpu=ppc64 | FileCheck %s
      2 target datalayout = "E-m:e-i64:64-n32:64"
      3 target triple = "powerpc64-unknown-linux-gnu"
      4 
      5 ; Function Attrs: nounwind
      6 define void @_ZN4llvm3sys17RunningOnValgrindEv() #0 {
      7 entry:
      8   br i1 undef, label %if.then, label %if.end
      9 
     10 if.then:                                          ; preds = %entry
     11   ret void
     12 
     13 if.end:                                           ; preds = %entry
     14   %0 = call i64 asm sideeffect "mr 3,$1\0A\09mr 4,$2\0A\09rotldi 0,0,3  ; rotldi 0,0,13\0A\09rotldi 0,0,61 ; rotldi 0,0,51\0A\09or 1,1,1\0A\09mr $0,3", "=b,b,b,~{cc},~{memory},~{r3},~{r4}"(i32 0, i64* undef) #0
     15   unreachable
     16 
     17 ; CHECK-LABEL: @_ZN4llvm3sys17RunningOnValgrindEv
     18 ; CHECK: stw
     19 ; CHECK: lwz
     20 }
     21 
     22 attributes #0 = { nounwind }
     23 
     24