diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-02-15 22:16:39 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-02-15 22:16:39 +0000 |
| commit | 25530a12a1f635d7c3fc11317317cfc905b08e56 (patch) | |
| tree | bb0b3881029f1567e277fb7992fb24a565abcc0d /llvm/lib/Target/CBackend | |
| parent | 5c49d123addb8b9b8fde96c14923f9ac0d31eb5d (diff) | |
| download | bcm5719-llvm-25530a12a1f635d7c3fc11317317cfc905b08e56.tar.gz bcm5719-llvm-25530a12a1f635d7c3fc11317317cfc905b08e56.zip | |
Refactor code. Now the intrinsic lowering pass tries to recycle preexisting
prototypes, even if they don't precisely match what it would prefer to use.
This fixes: CBackend/2004-02-15-PreexistingExternals.llx compiling it into:
ltmp_0_30 = memcpy(l14_C, 4u, 17);
ltmp_1_30 = memcpy(((int *)l27_A), ((unsigned )(long)l27_B), ((int )123u));
instead of:
ltmp_0_30 = memcpy(l14_C, 4u, 17);
ltmp_1_27 = l43_memcpy(l27_A, l27_B, 123u);
Which does the wrong thing as you could imagine.
llvm-svn: 11481
Diffstat (limited to 'llvm/lib/Target/CBackend')
0 files changed, 0 insertions, 0 deletions

