~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/PowerPC/2008-03-24-CoalescerBug.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 < %s -march=ppc32
 
2
 
 
3
        %struct..0objc_object = type { %struct.objc_class* }
 
4
        %struct.NSArray = type { %struct..0objc_object }
 
5
        %struct.NSMutableArray = type { %struct.NSArray }
 
6
        %struct.PFTPersistentSymbols = type { %struct..0objc_object, %struct.VMUSymbolicator*, %struct.NSMutableArray*, %struct.__CFDictionary*, %struct.__CFDictionary*, %struct.__CFDictionary*, %struct.__CFDictionary*, %struct.NSMutableArray*, i8, %struct.pthread_mutex_t, %struct.NSMutableArray*, %struct.pthread_rwlock_t }
 
7
        %struct.VMUMachTaskContainer = type { %struct..0objc_object, i32, i32 }
 
8
        %struct.VMUSymbolicator = type { %struct..0objc_object, %struct.NSMutableArray*, %struct.NSArray*, %struct.NSArray*, %struct.VMUMachTaskContainer*, i8 }
 
9
        %struct.__CFDictionary = type opaque
 
10
        %struct.__builtin_CFString = type { i32*, i32, i8*, i32 }
 
11
        %struct.objc_class = type opaque
 
12
        %struct.objc_selector = type opaque
 
13
        %struct.pthread_mutex_t = type { i32, [40 x i8] }
 
14
        %struct.pthread_rwlock_t = type { i32, [124 x i8] }
 
15
external constant %struct.__builtin_CFString            ; <%struct.__builtin_CFString*>:0 [#uses=1]
 
16
 
 
17
define void @"-[PFTPersistentSymbols saveSymbolWithName:address:path:lineNumber:flags:owner:]"(%struct.PFTPersistentSymbols* %self, %struct.objc_selector* %_cmd, %struct.NSArray* %name, i64 %address, %struct.NSArray* %path, i32 %lineNumber, i64 %flags, %struct..0objc_object* %owner) nounwind  {
 
18
entry:
 
19
        br i1 false, label %bb12, label %bb21
 
20
bb12:           ; preds = %entry
 
21
        %tmp17 = tail call signext i8 inttoptr (i64 4294901504 to i8 (%struct..0objc_object*, %struct.objc_selector*, %struct.NSArray*)*)( %struct..0objc_object* null, %struct.objc_selector* null, %struct.NSArray* bitcast (%struct.__builtin_CFString* @0 to %struct.NSArray*) )  nounwind          ; <i8> [#uses=0]
 
22
        br i1 false, label %bb25, label %bb21
 
23
bb21:           ; preds = %bb12, %entry
 
24
        %tmp24 = or i64 %flags, 4               ; <i64> [#uses=1]
 
25
        br label %bb25
 
26
bb25:           ; preds = %bb21, %bb12
 
27
        %flags_addr.0 = phi i64 [ %tmp24, %bb21 ], [ %flags, %bb12 ]            ; <i64> [#uses=1]
 
28
        %tmp3233 = trunc i64 %flags_addr.0 to i32               ; <i32> [#uses=0]
 
29
        ret void
 
30
}