commit | 80220369b040dd9769e4c4b65d2d018210c3b240 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Jan 02 19:57:05 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Jan 02 19:57:05 2011 +0000 |
tree | 86c89a65b154febbccfb8218b0b86dcda5252490 | |
parent | 8c06aa1c597bb5c2c264a190bc35836f0a7b4cd5 [diff] |
Try to reuse the value when lowering memset. This allows us to compile: void test(char *s, int a) { __builtin_memset(s, a, 15); } into 1 mul + 3 stores instead of 3 muls + 3 stores. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122710 91177308-0d34-0410-b5e6-96231b3b80d8