Commit
b86e7ae66cb988dda33445c29fa64f93e7ca9c3c
by tbaeder[clang][driver][NFC][obvious] Remove obsolete unistd.h include
getuid() is not being called in this file anymore.
|
 | clang/lib/Driver/ToolChains/Clang.cpp |
Commit
418df4a6ab35d343cc0f2608c90a73dd9b8d0ab1
by wingo[WebAssembly] call_indirect issues table number relocs
This patch changes to make call_indirect explicitly refer to the corresponding function table, residualizing TABLE_NUMBER relocs against it.
With this change, wasm-ld now sees all references to tables, and can link multiple tables.
Differential Revision: https://reviews.llvm.org/D90948
|
 | llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp |
 | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp |
 | lld/test/wasm/call-indirect.ll |
 | llvm/test/MC/WebAssembly/call-indirect-relocs.s |
 | llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp |
 | llvm/test/CodeGen/WebAssembly/function-pointer64.ll |
 | llvm/test/MC/WebAssembly/basic-assembly.s |
 | llvm/test/MC/WebAssembly/weak-alias.s |
 | llvm/test/MC/WebAssembly/reloc-code.ll |
 | llvm/lib/MC/WasmObjectWriter.cpp |
 | llvm/test/MC/WebAssembly/type-index.s |
 | llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td |
 | llvm/test/CodeGen/WebAssembly/multivalue.ll |
 | llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp |
 | llvm/test/MC/WebAssembly/tail-call-encodings.s |
 | llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h |
 | lld/test/wasm/shared.ll |
 | llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp |
 | lld/test/wasm/compress-relocs.ll |
Commit
831a143e50cac873ec095fc7139a485173ba8c35
by wingo[WebAssembly] Change prefix on data segment flags to WASM_DATA_SEGMENT
Element sections will also need flags, so we shouldn't squat the WASM_SEGMENT namespace.
Depends on D90948.
Differential Revision: https://reviews.llvm.org/D92315
|
 | llvm/lib/ObjectYAML/WasmYAML.cpp |
 | lld/wasm/OutputSections.cpp |
 | lld/wasm/Writer.cpp |
 | llvm/lib/MC/WasmObjectWriter.cpp |
 | llvm/lib/Object/WasmObjectFile.cpp |
 | llvm/lib/ObjectYAML/WasmEmitter.cpp |
 | llvm/include/llvm/BinaryFormat/Wasm.h |
Commit
39a2a233f88443e865758ba73c156787c77ead2c
by jan_svoboda[clang][cli] Parse Lang and CodeGen options separately
This patch moves the parsing of `{Lang,CodeGen}Options` from `parseSimpleArgs` to the original `Parse{Lang,CodeGen}Args` functions.
This ensures all marshalled `LangOptions` are being parsed **after** the call `setLangDefaults`, which in turn enables us to marshall `LangOptions` that somehow depend on the defaults. (In a future patch.)
Now, `CodeGenOptions` need to be parsed **after** `LangOptions`, because `-cl-mad-enable` (a `CodeGenOpt`) depends on the value of `-cl-fast-relaxed-math` and `-cl-unsafe-math-optimizations` (`LangOpts`).
Unfortunately, this removes the nice property that marshalled options get parsed in the exact order they appear in the `.td` file. Now we cannot be sure that a TableGen record referenced in `ImpliedByAnyOf` has already been parsed. This might cause an ordering issues (i.e. reading value of uninitialized variable). I plan to mitigate this by moving each `XxxOpt` group from `parseSimpleArgs` back to their original parsing function. With this setup, if an option from group `A` references option from group `B` in TableGen, the compiler will require us to make the `CompilerInvocation` member for `B` visible in the parsing function for `A`. That's where we notice that `B` didn't get parsed yet.
Reviewed By: Bigcheese
Differential Revision: https://reviews.llvm.org/D94682
|
 | clang/test/Frontend/diagnostics-order.c |
 | clang/include/clang/Driver/Options.td |
 | clang/include/clang/Frontend/CompilerInvocation.h |
 | clang/lib/Frontend/CompilerInvocation.cpp |
Commit
7e1d2224b42b411acf2d3cb20e3cf5a564ef79bb
by yuanke.luo[X86][AMX] Fix the typo.
The dpbsud should be dpbssd.
Differential Revision: https://reviews.llvm.org/D94943
|
 | clang/test/CodeGen/X86/amx_api.c |
 | clang/lib/Headers/amxintrin.h |