[llvm-commits] [llvm-commit][llvm-gcc]llvm-rs6000.cpp function cache patch
Jim Laskey
jlaskey at apple.com
Sun Jan 7 05:49:56 PST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FunctionCache.patch
Type: application/octet-stream
Size: 5447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070107/d7aea618/attachment.obj>
-------------- 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/d7aea618/attachment.bin>
More information about the llvm-commits
mailing list