Add noalias and nocapture attributes to pointer stg registers
authorDavid Terei <davidterei@gmail.com>
Mon, 28 Jun 2010 11:51:20 +0000 (11:51 +0000)
committerDavid Terei <davidterei@gmail.com>
Mon, 28 Jun 2010 11:51:20 +0000 (11:51 +0000)
commit439cda45847149cb740e7e7a288c90c5e7743cf8
treee47d5aa4901ad1ae1571edf335b382ffaf87c07f
parentae03da75d16d5d6e00c6f12102846509060a1138
Add noalias and nocapture attributes to pointer stg registers

At the moment this gives a very slight performance boost of around 1 - 2%.
Future changes to the generated code though so that pointers are kept as
pointers more often instead of being cast to integer types straight away
should hopefully improve the benefit this brings.
compiler/llvmGen/LlvmCodeGen/Base.hs