diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-03 01:04:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-03 01:04:50 +0000 |
commit | f7fe494c198d946c57a6275d0ec18c517f4022bd (patch) | |
tree | d7b7ba0f22c758437c5a3833f187ff911f8c064a /lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | 5f792c2c536721e286e983cdcde0369bdbb4a36d (diff) |
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
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions