On Fri, Nov 14, 2014 at 8:51 AM, Ilya Verbin <iver...@gmail.com> wrote: > On 14 Nov 08:46, H.J. Lu wrote: >> What happens when -flto is used on command line? Will we >> generate both LTO IR and offload IR? > > Right. > > I'm not sure whether we should make slim objects in case of LTO + offload > IR... >
Isn't __gnu_lto_slim only applied to regular LTO IR? Should offload IR be handled separately from regular LTO IR? It is odd to use flag_fat_lto_objects to control offload IR. -- H.J.