[PATCH] D128830: [Pipelines] Introduce DAE after ArgumentPromotion

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 26 14:20:29 PDT 2022


aeubanks added a comment.

reduced:

  define void @a() {
  entry:
    %call = call float @strtof(ptr noundef null, ptr noundef null)
    ret void
  }
  
  define internal float @strtof(ptr noundef %0, ptr noundef %1) nounwind {
  entry:
    ret float 0.0
  }

`./build/rel/bin/opt -passes='inline,argpromotion' -disable-output /tmp/b.ll`

likely something to do with how the CGSCC pass manager handles lib function (see `isKnownLibFunction` in LazyCallGraph.cpp)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128830



More information about the cfe-commits mailing list