FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [lld][WebAssembly] Fail if bitcode objects are pulled in after LTO (details)
  2. Removed declared but non-existent createMaterializeVectorsPass() (NFC) (details)
Commit b062fe181625bd1944ca9ca2a58246ffd7cd3536 by sbc
[lld][WebAssembly] Fail if bitcode objects are pulled in after LTO

This can happen if lto::LTO::getRuntimeLibcallSymbols doesn't return
an complete/accurate list of libcalls.  In this case new bitcode
object can be linked in after LTO.

For example the WebAssembly backend currently calls:
  setLibcallName(RTLIB::FPROUND_F32_F16, "__truncsfhf2");

But `__truncsfhf2` is not part of `getRuntimeLibcallSymbols` so if
this symbol is generated during LTO the link will currently fail.

Without this change the linker crashes because the bitcode symbol
makes it all the way to the output phase.

See: https://bugs.llvm.org/show_bug.cgi?id=44353

Differential Revision: https://reviews.llvm.org/D71632
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was addedlld/test/wasm/lto/Inputs/libcall-truncsfhf2.ll
The file was modifiedlld/wasm/InputFiles.h
The file was addedlld/test/wasm/lto/libcall-truncsfhf2.ll
Commit d6a5c31c0f739cd401702b898e3da3986466dffa by joker-eph
Removed declared but non-existent createMaterializeVectorsPass() (NFC)
The file was modifiedmlir/include/mlir/Transforms/Passes.h