diff options
| author | Owen Anderson <resistor@mac.com> | 2008-06-01 22:26:26 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2008-06-01 22:26:26 +0000 |
| commit | 009e4f760969e3530cc2641a9599e646a20580c2 (patch) | |
| tree | aa5f76c5e74254032f78bc925e045f2d96b49c50 /lib/Support/MemoryBuffer.cpp | |
| parent | 19d4d12ee0e31505c3d776c29e3ad0b6c17cda67 (diff) | |
Fix two issues that Eli Friedman pointed out, where would misoptimized code like:
char a[200];
init(a, a+200);
OR
int a[200];
char* b = (char*)a;
char* c = (char*)a;
foo(b, c);
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions
