brintos

brintos / llvm-project-archived public Read only

0
0
Text · 668 B · 10048f8 Raw
21 lines · plain
1;; Check that we can read the old STACK_ID summary format that encoded the id as2;; a VBR8 instead of as a pair of 32-bit fixed-width values.3;;4;; The old bitcode was generated by the older compiler from `opt -thinlto-bc`5;; on the following LLVM assembly:6;;7;; target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"8;; target triple = "x86_64-unknown-linux-gnu"9;;10;; define void @bar() {11;;   call void @foo(), !callsite !012;;   ret void13;; }14;;15;; declare void @foo()16;;17;; !0 = !{i64 9086428284934609951}18 19; RUN: llvm-dis %S/Inputs/memprof-old-stackid-summary.bc -o - | FileCheck %s20; CHECK: stackIds: (9086428284934609951)21