davidxl added inline comments. ================ Comment at: test/CodeGen/pgo-sample-thinlto-summary.c:39 +// O2: if.true.direct_targ // ThinLTO-NOT: if.true.direct_targ void icp(void (*p)()) { ---------------- Is the thinLTO behavior here expected? https://reviews.llvm.org/D34663