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


Attachment: FunctionCache.patch
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to