brintos

brintos / llvm-project-archived public Read only

0
0
Text · 660 B · fa04f4f Raw
29 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s2; Formerly dropped the RHS of %tmp6 when constructing rlwimi.3; 73461174 5@foo = external global i326 7define void @xxx(i32 %a, i32 %b, i32 %c, i32 %d) nounwind optsize {8; CHECK: xxx:9; CHECK: or10; CHECK: and11; CHECK: rlwimi12entry:13  %tmp0 = ashr i32 %d, 3114  %tmp1 = and i32 %tmp0, 25515  %tmp2 = xor i32 %tmp1, 25516  %tmp3 = ashr i32 %b, 3117  %tmp4 = ashr i32 %a, 418  %tmp5 = or i32 %tmp3, %tmp419  %tmp6 = and i32 %tmp2, %tmp520  %tmp7 = shl i32 %c, 821  %tmp8 = or i32 %tmp6, %tmp722  store i32 %tmp8, ptr @foo, align 423  br label %return24 25return:26  ret void27; CHECK: blr28}29