~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/PowerPC/ashr-neg1.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s
 
2
target triple = "powerpc64-unknown-linux-gnu"
 
3
 
 
4
define void @autogen_SD30723(i32) {
 
5
BB:
 
6
  br label %CF80
 
7
 
 
8
CF80:                                             ; preds = %CF80, %BB
 
9
  %B = ashr i32 %0, -1
 
10
  br i1 undef, label %CF80, label %CF84
 
11
 
 
12
CF84:                                             ; preds = %CF84, %CF80
 
13
  %Cmp62 = icmp sge i32 undef, %B
 
14
  br i1 %Cmp62, label %CF84, label %CF85
 
15
 
 
16
CF85:                                             ; preds = %CF85, %CF84
 
17
  br label %CF85
 
18
}