brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1012 B · 0bbfae3 Raw
29 lines · plain
1; RUN: llc < %s -mtriple=x86_64-apple-darwin2 3        %struct._Unwind_Context = type {  }4 5define i32 @execute_stack_op(ptr %op_ptr, ptr %op_end, ptr %context, i64 %initial) {6entry:7        br i1 false, label %bb, label %return8 9bb:             ; preds = %bb31, %entry10        br i1 false, label %bb6, label %bb3111 12bb6:            ; preds = %bb13        %tmp10 = load i64, ptr null, align 8                ; <i64> [#uses=1]14        %tmp16 = load i64, ptr null, align 8                ; <i64> [#uses=1]15        br i1 false, label %bb23, label %bb3116 17bb23:           ; preds = %bb618        %tmp2526.cast = and i64 %tmp16, 4294967295              ; <i64> [#uses=1]19        %tmp27 = ashr i64 %tmp10, %tmp2526.cast         ; <i64> [#uses=1]20        br label %bb3121 22bb31:           ; preds = %bb23, %bb6, %bb23        %result.0 = phi i64 [ %tmp27, %bb23 ], [ 0, %bb ], [ 0, %bb6 ]          ; <i64> [#uses=0]24        br i1 false, label %bb, label %return25 26return:         ; preds = %bb31, %entry27        ret i32 undef28}29