Revert "[Pipelines] Introduce DAE after ArgumentPromotion"
authorPavel Samolysov <samolisov@gmail.com>
Fri, 26 Aug 2022 10:21:29 +0000 (13:21 +0300)
committerPavel Samolysov <samolisov@gmail.com>
Fri, 26 Aug 2022 10:43:09 +0000 (13:43 +0300)
commitf964417c32d05a88c80db315e97ada639d97eda1
tree62983c32d40e7d1a186557f5293ef2812eec3f9c
parent6e81eae2f767df99c46e2296a74a00e28716ccae
Revert "[Pipelines] Introduce DAE after ArgumentPromotion"

The commit breaks the compiler when a function is used as a function
parameter (hm... for a function from the standard C library?):

```
static float strtof(char *, char *) {}
void a() { strtof(a, 0); }
```

This reverts commit 879f5118fc74657e4a5c4eff6810098e1eed75ac.
clang/test/CodeGen/thinlto-distributed-newpm.ll
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-lto-defaults.ll
llvm/test/Other/new-pm-thinlto-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
llvm/test/Transforms/InstCombine/unused-nonnull.ll
llvm/test/Transforms/PhaseOrdering/dce-after-argument-promotion.ll