22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2 3; RUN: llc -verify-machineinstrs < %s -code-model=large -relocation-model=pic -mtriple=x86_64--linux | FileCheck %s4 5@.str = private unnamed_addr constant [2 x i8] c"a\00", align 16 7define void @pr38385() {8; CHECK-LABEL: pr38385:9; CHECK: # %bb.0:10; CHECK-NEXT: .L0$pb:11; CHECK-NEXT: leaq .L0$pb(%rip), %rax12; CHECK-NEXT: movabsq $_GLOBAL_OFFSET_TABLE_-.L0$pb, %rcx13; CHECK-NEXT: addq %rax, %rcx14; CHECK-NEXT: movabsq $.L.str@GOTOFF, %rax15; CHECK-NEXT: addl %eax, %ecx16; CHECK-NEXT: movb %cl, -{{[0-9]+}}(%rsp)17; CHECK-NEXT: retq18 %p = alloca i8, align 119 store i8 ptrtoint (ptr @.str to i8), ptr %p, align 120 ret void21}22