clang-omp / clang

clang with OpenMP 3.1 and some elements of OpenMP 4.0 support
clang-omp.github.com
Other
91 stars 15 forks source link

missing type information in IR for internal structures #67

Open JeWaVe opened 9 years ago

JeWaVe commented 9 years ago

Hi, While trying to inspect the IR generated by clang-omp, I found that an internal struct is created, with no associated metadata.

at the very top of the IR file I have

%struct.anon = type { i8 }

unfortunately, when I process the ll module, anon doesn't appear in the types list.

Is that a bug, or is there any workaround?

alexey-bataev commented 9 years ago

Hmm, that's very strange. Are you sure that you're providing the same compilation flags?

Best regards,

Alexey Bataev

Software Engineer Intel Compiler Team Intel Corp.

27.03.2015 13:57, JeWaVe пишет:

Hi, While trying to inspect the IR generated by clang-omp, I found that an internal struct is created, with no associated metadata.

at the very top of the IR file I have

%struct.anon = type { i8 }

unfortunately, when I process the ll module, anon doesn't appear in the types list.

Is that a bug, or is there any workaround?

— Reply to this email directly or view it on GitHub https://github.com/clang-omp/clang/issues/67.