Xiaolong Tang
2012-Jun-22 15:19 UTC
[LLVMdev] Questions about the equality between two llvm types
Hi All, I have a question about the comparison of two types. Generally, comparing two types are just comparing their pointers. However, one declared type (in programs) may be mapped into more than one llvm types, in the module resulting from linking other unit modules. For example, a class "mrViewingHitRecord" may have two corresponding IR entities: %class.mrViewingHitRecord.1296* %class.mrViewingHitRecord.1097* So, how to justify that the above two types are the same? Does each llvm type have one canonical type? Xiaolong
Possibly Parallel Threads
- [LLVMdev] Another two questions on LLVM
- [LLVMdev] For clarifying the "<Result>" in Instructions
- [LLVMdev] Question on Load and GetElementPtr instructions
- [LLVMdev] For clarifying the "<Result>" in Instructions
- [LLVMdev] For clarifying the "<Result>" in Instructions