llvm-6502/lib/Target/CBackend
Chris Lattner f7fe494c19 Do not lower malloc's to pass "sizeof" expressions like this:
ltmp_0_7 = malloc(((unsigned )(&(((signed char (*)[784])/*NULL*/0)[1u]))));

Instead, just emit the literal constant, like this:

  ltmp_0_7 = malloc(784u);

This works around a bug in ICC 8.1 compiling the CBE generated code.  :-(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20415 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-03 01:04:50 +00:00
..
CBackend.cpp Do not lower malloc's to pass "sizeof" expressions like this: 2005-03-03 01:04:50 +00:00
CTargetMachine.h Auto-registrate target 2004-07-11 02:48:49 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
Writer.cpp Do not lower malloc's to pass "sizeof" expressions like this: 2005-03-03 01:04:50 +00:00