[PATCH] D129003: [WPD] Filter out intrinsics inserted from whole-program-vtables

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 09:48:18 PDT 2022


xur created this revision.
xur added a reviewer: tejohnson.
Herald added subscribers: wenlei, hiraditya.
Herald added a project: All.
xur requested review of this revision.
Herald added a project: LLVM.

These intrinsics should be counted in the heuristics in
InstCombine and CallsiteSplit.

They are causing FDO hash mismatches when whole-program-vtables
is enabled in optimized build but not in instrumentation build.


https://reviews.llvm.org/D129003

Files:
  llvm/include/llvm/IR/Instruction.h
  llvm/lib/Analysis/Loads.cpp
  llvm/lib/IR/Instruction.cpp
  llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
  llvm/test/Transforms/InstCombine/wpvt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129003.441719.patch
Type: text/x-patch
Size: 11511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220701/1bbb7e83/attachment.bin>


More information about the llvm-commits mailing list