For example I have two LLVM IR modules
the first is: arm64-apple-ios8.0.0 data layout 'e-m:o-p:32:32-Fi8-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32'
the second is: thumbv7-apple-ios10.0.0 data layout 'e-m:o-i64:64-i128:128-n32:64-S128'
If I try to link them, I get a warning about the triple and data layout mismatch.
Is it possible to recompile one of them with the triple and data layout of another module, so that they match?