brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 70456f4 Raw
40 lines · plain
1; RUN: llc -verify-machineinstrs < %s | FileCheck %s2target datalayout = "E-m:e-i64:64-n32:64"3target triple = "powerpc64-unknown-linux-gnu"4 5@_ZNSs4_Rep20_S_empty_rep_storageE = external global [0 x i64], align 86 7; Function Attrs: nounwind8define void @_ZN5clang7tooling15RefactoringTool10runAndSaveEPNS0_21FrontendActionFactoryE() #0 align 2 {9entry:10  br i1 undef, label %_ZN4llvm18IntrusiveRefCntPtrIN5clang13DiagnosticIDsEEC2EPS2_.exit, label %return11 12; CHECK: @_ZN5clang7tooling15RefactoringTool10runAndSaveEPNS0_21FrontendActionFactoryE13 14_ZN4llvm18IntrusiveRefCntPtrIN5clang13DiagnosticIDsEEC2EPS2_.exit: ; preds = %entry15  %call2 = call noalias ptr @_Znwm() #316  store <2 x ptr> <ptr getelementptr inbounds ([0 x i64], ptr @_ZNSs4_Rep20_S_empty_rep_storageE, i64 0, i64 3), ptr getelementptr inbounds ([0 x i64], ptr @_ZNSs4_Rep20_S_empty_rep_storageE, i64 0, i64 3)>, ptr undef, align 817  %IgnoreWarnings.i = getelementptr inbounds i8, ptr %call2, i64 418  call void @llvm.memset.p0.i64(ptr align 8 null, i8 0, i64 48, i1 false) #419  store i32 251658240, ptr %IgnoreWarnings.i, align 420  store i256 37662610426935100959726589394453639584271499769928088551424, ptr null, align 821  store i32 1, ptr %call2, align 422  unreachable23 24return:                                           ; preds = %entry25  ret void26}27 28; Function Attrs: nobuiltin29declare noalias ptr @_Znwm() #130 31; Function Attrs: nounwind argmemonly32declare void @llvm.memset.p0.i64(ptr nocapture, i8, i64, i1) #233 34attributes #0 = { nounwind "target-cpu"="pwr7" }35attributes #1 = { nobuiltin "target-cpu"="pwr7" }36attributes #2 = { nounwind argmemonly }37attributes #3 = { builtin nounwind }38attributes #4 = { nounwind }39 40