25 lines · plain
1; RUN: llc -mtriple=arm-eabi -mcpu=swift -verify-machineinstrs %s -o /dev/null2 3%union.opcode.0.2.5.8.15.28 = type { i32 }4 5@opcode = external global %union.opcode.0.2.5.8.15.28, align 46@operands = external hidden global [50 x i8], align 47@.str86 = external hidden unnamed_addr constant [13 x i8], align 18 9; Function Attrs: nounwind ssp10define void @xfr() {11entry:12 %bf.load4 = load i32, ptr @opcode, align 413 %bf.clear10 = and i32 %bf.load4, 6553514 %and11 = and i32 %bf.load4, 3276815 %tobool12 = icmp ne i32 %and11, 016 %cond13 = select i1 %tobool12, i32 1073676288, i32 017 %or = or i32 %cond13, %bf.clear1018 %shl = shl nuw i32 %or, 219 %add = add i32 0, %shl20 tail call void (ptr, i32, i32, ptr, ...) @__sprintf_chk(ptr @operands, i32 0, i32 50, ptr @.str86, i32 undef, i32 undef, i32 %add)21 ret void22}23 24declare void @__sprintf_chk(ptr, i32, i32, ptr, ...)25