commit | 8143a84c46b8d2fb58eddb46d84dd5d44d03cb6c | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Jan 06 14:22:52 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Jan 06 14:22:52 2011 +0000 |
tree | 597092e9f340fae3b7c8e2d2c08dfb04f7801bd5 | |
parent | 7d9f51f4b5e594c9c72717888a68c0c8a2f1267b [diff] |
InstCombine: Turn _chk functions into the "unsafe" variant if length and max langth are equal. This happens when we take the (non-constant) length from a malloc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122961 91177308-0d34-0410-b5e6-96231b3b80d8