[PTX]
Nathan Sidwell
nathan@acm.org
Mon Dec 7 13:53:00 GMT 2015
Alex pointed me at his ptx patch
https://gcc.gnu.org/ml/gcc-patches/2015-10/msg03393.html but meanwhile I'd
reorganized that part of the PTX backend.
This patch implements Alex's patch in the new code base. There are some minor
additions.
1) we also look inside vector types.
2) we only limit to Pmode, if the type's mode is BLKmode. Those are the structs
where we can't tell whether a pointer initialization will happen.
I think there's still some cleanup on the init emission -- now the object size
is alwasy a multiple of the element size, we don't have to deal with any
trailing partial elements.
nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk-ptx-init.patch
Type: text/x-patch
Size: 3190 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151207/f8d7eced/attachment.bin>
More information about the Gcc-patches
mailing list