[llvm-commits] [dragonegg] r147606 - /dragonegg/trunk/TODO

Duncan Sands baldrick at free.fr
Thu Jan 5 05:12:07 PST 2012


Author: baldrick
Date: Thu Jan  5 07:12:06 2012
New Revision: 147606

URL: http://llvm.org/viewvc/llvm-project?rev=147606&view=rev
Log:
Add item about GEP indices.

Modified:
    dragonegg/trunk/TODO

Modified: dragonegg/trunk/TODO
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/TODO?rev=147606&r1=147605&r2=147606&view=diff
==============================================================================
--- dragonegg/trunk/TODO (original)
+++ dragonegg/trunk/TODO Thu Jan  5 07:12:06 2012
@@ -60,6 +60,11 @@
 Code quality
 ------------
 
+Consider not extending GEP indices to "pointer type" since GEP indices can have
+any integer type now (except for struct GEP's - there the type must be i32).
+Note that GEP indices are implicitly sign extended, so unsigned indices still
+need to be explicitly zero extended to pointer size (is this always done now?).
+
 Clarify and extend the distinction between gimple registers and "the rest",
 the rest being mostly references.
 





More information about the llvm-commits mailing list