summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-03 01:04:50 +0000
committerChris Lattner <sabre@nondot.org>2005-03-03 01:04:50 +0000
commit1a678c67c9e5208a9ea3aacd35fcf520bb81cd3b (patch)
treed4380c834d21dabe94ae2feee43c41f0f52e8ece /llvm/lib/Target/Alpha/AlphaISelPattern.cpp
parentef1e989e4f91bb8a414786e91bef52587953448d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud