[PATCH] D98884: [IR] Ignore bitcasts of function pointers which are only used as callees in callbase instruction

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 08:18:09 PDT 2021


foad added a comment.

I think it was also causing this failure in my Release+Asserts build:

  /home/jayfoad2/git/llvm-project/llvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll:150:16: error: CHECK-LABEL: expected string not found in input
  ; CHECK-LABEL: define internal void @branch_funnel(i8*
                 ^
  <stdin>:81:16: note: scanning from here
  define i32 @fn3(i8* nocapture readonly %obj) local_unnamed_addr #2 {
                 ^
  <stdin>:95:18: note: possible intended match here
  define hidden void @__typeid_typeid1_0_branch_funnel(i8* nest %0, ...) local_unnamed_addr #6 {
                   ^
  ...
  Failed Tests (1):
    LLVM :: Transforms/WholeProgramDevirt/branch-funnel.ll


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98884/new/

https://reviews.llvm.org/D98884



More information about the llvm-commits mailing list