1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Explain what "constant" means here.

llvm-svn: 117053
This commit is contained in:
Dan Gohman 2010-10-21 19:45:09 +00:00
parent b15029ea7e
commit 6fb125afc8

View File

@ -28,7 +28,9 @@
// uniquely identifies the type. The second field identifies the type's // uniquely identifies the type. The second field identifies the type's
// parent node in the tree, or is null or omitted for a root node. // parent node in the tree, or is null or omitted for a root node.
// If the third field is present, it's an integer which if equal to 1 // If the third field is present, it's an integer which if equal to 1
// indicates that the type is "constant". // indicates that the type is "constant" (meaning
// pointsToConstantMemory should return true; see
// http://llvm.org/docs/AliasAnalysis.html#OtherItfs).
// //
// TODO: The current metadata encoding scheme doesn't support struct // TODO: The current metadata encoding scheme doesn't support struct
// fields. For example: // fields. For example: