forked from OSchip/llvm-project
3b6d46761f
This is based on an example that was recently posted on llvm-dev: void *propagate_null(void* b, int* g) { if (!b) { return 0; } (*g)++; return b; } https://godbolt.org/g/xYk3qG The original code or constant propagation in other passes has obscured the fact that the phi can be removed completely. Differential Revision: https://reviews.llvm.org/D45448 llvm-svn: 329755 |
||
---|---|---|
.. | ||
2010-09-02-Trunc.ll | ||
2010-09-26-MergeConstantRange.ll | ||
add.ll | ||
alloca.ll | ||
ashr.ll | ||
basic.ll | ||
conflict.ll | ||
crash.ll | ||
guards.ll | ||
icmp.ll | ||
non-null.ll | ||
overflows.ll | ||
phi-common-val.ll | ||
pr35807.ll | ||
range.ll | ||
sdiv.ll | ||
select.ll | ||
srem.ll | ||
udiv.ll | ||
urem.ll |