[llvm-dev] Use of array type in globals in LTO

via llvm-dev
2016-08-26T15:28:32Z

Hi,

Recently, I noticed that less number of global variables are merged in
global-merge pass and in some global variable, array types are used
instead of its original type. For example, [4xi8] with align 4 is used
for a i32  global variable. For me, it seems that such pattern is
observed after r278338  (Resolution-based LTO API). Can anyone give me
little bit more insight if such type change was intended? If then why
such uses of array type is needed?

Thanks,
Jun

--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a
Linux Foundation Collaborative Project.