[llvm-commits] [llvm-commit][llvm-gcc]llvm-rs6000.cpp function cache patch

Jim Laskey jlaskey at apple.com
Sun Jan 7 06:10:15 PST 2007


Ignore previous patch.  This one doesn't trounce Chris' patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FunctionCache.patch
Type: application/octet-stream
Size: 5501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070107/5e4a10f1/attachment.obj>
-------------- next part --------------


On 7-Jan-07, at 09:49 AM, Jim Laskey wrote:

> When I converted the megamacro over to C, I should have listened to  
> the alarms going off in my head when I saw "static Function *Cache  
> = NULL;".  There should have been a per call site cache.  The  
> result of this mistake was that the same function prototype was  
> being used for several altivec builtins.  The fix is to pass in a  
> cache from each call site.
>
> Cheers,
>
> -- Jim
>
>
> <FunctionCache.patch>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070107/5e4a10f1/attachment.bin>


More information about the llvm-commits mailing list