thurston added a comment. This is causing buildbot failures e.g., https://lab.llvm.org/buildbot/#/builders/5/builds/33084:
******************** TEST 'lld :: ELF/lto/ppc.ll' FAILED ******************** ... ld.lld: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp:231: void llvm::MachineFunction::init(): Assertion `Target.isCompatibleDataLayout(getDataLayout()) && "Can't create a MachineFunction using a Module with a " "Target-incompatible DataLayout attached\n"' failed. /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/lto/Output/ppc.ll.script: line 10: 1277639 Aborted (core dumped) /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/lto/Output/ppc.ll.tmp/32le.o -o /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/lto/Output/ppc.ll.tmp/32le I reproduced the build error locally for this commit (8d2e9fc8553c91b1f22e82ffc2c00020f40bb0a2 <https://reviews.llvm.org/rG8d2e9fc8553c91b1f22e82ffc2c00020f40bb0a2>), while also verifying that the immediately preceding commit (221350965a891fc4ce33ea311428448939678112 <https://reviews.llvm.org/rG221350965a891fc4ce33ea311428448939678112>) did not have this error. Could you please take a look at this? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147016/new/ https://reviews.llvm.org/D147016 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits