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 | 1a678c67c9e5208a9ea3aacd35fcf520bb81cd3b (patch) | |
tree | d4380c834d21dabe94ae2feee43c41f0f52e8ece /llvm/lib/Target/Alpha/AlphaISelPattern.cpp | |
parent | ef1e989e4f91bb8a414786e91bef52587953448d (diff) | |
download | bcm5719-llvm-1a678c67c9e5208a9ea3aacd35fcf520bb81cd3b.tar.gz bcm5719-llvm-1a678c67c9e5208a9ea3aacd35fcf520bb81cd3b.zip |
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. :-(
llvm-svn: 20415
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelPattern.cpp')
0 files changed, 0 insertions, 0 deletions