hc.amdgcn.bc: functions disappear after linking

After linking in the module 'hc.amdgcn.bc' to the current module the function (see below) cannot be found. Looking at the result of the link it seems nothing actually got linked in.

define linkonce_odr protected void @hc_barrier(i32 %0) local_unnamed_addr #4 {

// function body left out

}

Is one of the attributes of 'hc_barrier' preventing it from being linked into another module? and if so, how can I still link in this module so that the function is still visible?

Thanks,

Frank

I think this question needs more context. How and why are you trying to link this?

-Matt