forked from OSchip/llvm-project
f1c00a22be
This is a recommit of r258620 which causes PR26293. The original message: Now LIR can turn following codes into memset: typedef struct foo { int a; int b; } foo_t; void bar(foo_t *f, unsigned n) { for (unsigned i = 0; i < n; ++i) { f[i].a = 0; f[i].b = 0; } } void test(foo_t *f, unsigned n) { for (unsigned i = 0; i < n; i += 2) { f[i] = 0; f[i+1] = 0; } } llvm-svn: 258777 |
||
---|---|---|
.. | ||
AMDGPU | ||
X86 | ||
basic-address-space.ll | ||
basic.ll | ||
crash.ll | ||
ctpop-multiple-users-crash.ll | ||
debug-line.ll | ||
memset_noidiom.ll | ||
non-canonical-loop.ll | ||
scev-invalidation.ll | ||
struct.ll | ||
struct_pattern.ll | ||
unroll.ll |