FailedChanges

Summary

  1. [RISCV] Teach debug output from assembly parser to print register names instead of enum values. (details)
  2. [RISCV] Handle Match_InvalidSImm5 in RISCVAsmParser::MatchAndEmitInstruction (details)
  3. [RISCV] Prevent assertion in the assembler if vmerge or vfmerge are given a V0 destination. (details)
  4. [Debugify] Support checking Machine IR debug info (details)
  5. [libc] Add memcmp implementation. (details)
  6. Revert "[Debugify] Support checking Machine IR debug info" (details)
  7. [libc][NFC] Skip adding dummy targets for skipped unit tests. (details)
  8. [Debugify] Support checking Machine IR debug info (details)
  9. [libc] Add remainder[f|l] and remquo[f|l] to the list of aarch64 entrypoints. (details)
  10. [mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization (details)
  11. [PGO] remove unintentional code in early commit (details)
  12. [NFC] [Legalizer] Use common method for expanding fp-to-int operands (details)
  13. Revert "[amdgpu] Default to code object v3" (details)
  14. Revert "Lex: Migrate HeaderSearch::LoadedModuleMaps to FileEntryRef" (details)
  15. [X86] Add test case for commit e52bc1d2bba794b. (details)
  16. Revert "[Debugify] Support checking Machine IR debug info" (details)
  17. Revert "[MachineDebugify] Insert synthetic DBG_VALUE instructions" (details)
Commit 413596ee45d327a7254d9f3d5f89bf58bbcbb310 by craig.topper
[RISCV] Teach debug output from assembly parser to print register names instead of enum values.
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit 2cf12ae0cc3fd51b2708a2ee1f61d9e861ca6b9d by craig.topper
[RISCV] Handle Match_InvalidSImm5 in RISCVAsmParser::MatchAndEmitInstruction
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit b094eaa392322a9a0073c84f0b6ea320d80dafcf by craig.topper
[RISCV] Prevent assertion in the assembler if vmerge or vfmerge are given a V0 destination.
The file was modifiedllvm/test/MC/RISCV/rvv/invalid.s
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit 57a3d9ec4a8c1422f07264bed9f12a4ea416707e by xiang1.zhang
[Debugify] Support checking Machine IR debug info
Add mir-check-debug pass to check MIR-level debug info.

For IR-level, currently, LLVM have debugify + check-debugify to generate
and check debug IR. Much like the IR-level pass debugify, mir-debugify
inserts sequentially increasing line locations to each MachineInstr in a
Module, But there is no equivalent MIR-level check-debugify pass, So now
we support it at "mir-check-debug".

Reviewed By: djtodoro

Differential Revision: https://reviews.llvm.org/D95195
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/lib/CodeGen/MachineDebugify.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h
The file was modifiedllvm/docs/HowToUpdateDebugInfo.rst
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was addedllvm/lib/CodeGen/MachineCheckDebugify.cpp
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
Commit af68c3b8924218596ecee948cc22cbb2c69c7f42 by chennngwang
[libc] Add memcmp implementation.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D93009
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was addedlibc/src/string/memcmp.h
The file was modifiedlibc/test/src/string/CMakeLists.txt
The file was addedlibc/src/string/memcmp.cpp
The file was modifiedlibc/src/string/CMakeLists.txt
The file was addedlibc/test/src/string/memcmp_test.cpp
Commit fc0f4010bb4c4fb843218c6e3aa0112ffc67c299 by xiang1.zhang
Revert "[Debugify] Support checking Machine IR debug info"

This reverts commit 57a3d9ec4a8c1422f07264bed9f12a4ea416707e.
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/lib/CodeGen/MachineDebugify.cpp
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
The file was removedllvm/lib/CodeGen/MachineCheckDebugify.cpp
The file was modifiedllvm/docs/HowToUpdateDebugInfo.rst
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
Commit b1067a9b3c8e2c692c31598bf8f399e31f486d4e by sivachandra
[libc][NFC] Skip adding dummy targets for skipped unit tests.
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was modifiedlibc/cmake/modules/LLVMLibCTestRules.cmake
Commit c4d2d4337d50bed3cafd564daece1a197005b22b by xiang1.zhang
[Debugify] Support checking Machine IR debug info
Add mir-check-debug pass to check MIR-level debug info.

For IR-level, currently, LLVM have debugify + check-debugify to generate
and check debug IR. Much like the IR-level pass debugify, mir-debugify
inserts sequentially increasing line locations to each MachineInstr in a
Module, But there is no equivalent MIR-level check-debugify pass, So now
we support it at "mir-check-debug".

Reviewed By: djtodoro

Differential Revision: https://reviews.llvm.org/D91595
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
The file was modifiedllvm/lib/CodeGen/MachineDebugify.cpp
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
The file was modifiedllvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was addedllvm/lib/CodeGen/MachineCheckDebugify.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/docs/HowToUpdateDebugInfo.rst
Commit f0cd6aa614f49bb0c66e65fdf6637222c982efe4 by sivachandra
[libc] Add remainder[f|l] and remquo[f|l] to the list of aarch64 entrypoints.
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
Commit d7eba2005267aa4a8f46f73f208c7cc23e6c6a1a by riddleriver
[mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization

Now that passes have support for running nested pipelines, the inliner can now allow for users to provide proper nested pipelines to use for optimization during inlining. This revision also changes the behavior of optimization during inlining to optimize before attempting to inline, which should lead to a more accurate cost model and prevents the need for users to schedule additional duplicate cleanup passes before/after the inliner that would already be run during inlining.

Differential Revision: https://reviews.llvm.org/D91211
The file was modifiedmlir/test/Pass/dynamic-pipeline-nested.mlir
The file was modifiedmlir/lib/Pass/PassRegistry.cpp
The file was modifiedmlir/lib/Pass/PassTiming.cpp
The file was modifiedllvm/include/llvm/ADT/Sequence.h
The file was modifiedmlir/test/Dialect/Affine/inlining.mlir
The file was modifiedmlir/lib/Pass/Pass.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/test/Transforms/inlining.mlir
The file was modifiedmlir/include/mlir/Transforms/Passes.h
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/inlining.mlir
The file was modifiedmlir/include/mlir/Pass/AnalysisManager.h
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Pass/PassDetail.h
The file was modifiedmlir/test/lib/Transforms/TestDynamicPipeline.cpp
The file was modifiedmlir/include/mlir/Pass/PassManager.h
The file was modifiedmlir/lib/Transforms/Inliner.cpp
Commit c36f31c4db065e987160a776749f5da81efc24c5 by xur
[PGO] remove unintentional code in early commit

Remove unintentional code in
commit 54e03d [PGO] Verify BFI counts after loading profile data.
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit 38b44421986937376989bfa4f4eaf0138c1139e1 by qiucofan
[NFC] [Legalizer] Use common method for expanding fp-to-int operands

Reviewed By: RKSimon, steven.zhang

Differential Revision: https://reviews.llvm.org/D92481
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Commit c9ede6f3367a627baeef78f30d18078af9a4ffca by thakis
Revert "[amdgpu] Default to code object v3"

This reverts commit 4b2e7d0215021d0d1df1a6319884b21d33936265.
Breaks check-clang, see https://reviews.llvm.org/D93258#2453600
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit 7799ef7121aa7d59f4bd95cdf70035de724ead6f by thakis
Revert "Lex: Migrate HeaderSearch::LoadedModuleMaps to FileEntryRef"

This reverts commit a40db5502b2515a6f2f1676b5d7a655ae0f41179.
and follow-up d636b881bb9214938973098a012fad453082c444

Somewhat speculative, likely broke check-clang on Windows:
https://reviews.llvm.org/D92975#2453482
The file was modifiedclang/lib/Frontend/FrontendAction.cpp
The file was modifiedclang-tools-extra/modularize/ModularizeUtilities.cpp
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedclang/include/clang/Lex/HeaderSearch.h
The file was modifiedclang/lib/Lex/ModuleMap.cpp
The file was modifiedclang/include/clang/Lex/ModuleMap.h
Commit 18925dd8722e713e25d55218a826e2aca8cdd7c3 by yuanke.luo
[X86] Add test case for commit e52bc1d2bba794b.

Differential Revision: https://reviews.llvm.org/D93173
The file was addedllvm/test/CodeGen/X86/AMX/amx-intrinsic-chain.ll
Commit da2551f3d191c1f0a32a3c9e3a26d2a236825871 by thakis
Revert "[Debugify] Support checking Machine IR debug info"

This reverts commit c4d2d4337d50bed3cafd564daece1a197005b22b.
Necessary to revert 2a5675f11d3bc803a245c0e.
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was removedllvm/lib/CodeGen/MachineCheckDebugify.cpp
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
The file was modifiedllvm/lib/CodeGen/MachineDebugify.cpp
The file was modifiedllvm/docs/HowToUpdateDebugInfo.rst
The file was modifiedllvm/include/llvm/CodeGen/TargetPassConfig.h
The file was modifiedllvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
Commit 841f9c937f6e593c926a26aedf054436eb807fe6 by thakis
Revert "[MachineDebugify] Insert synthetic DBG_VALUE instructions"

This reverts commit 2a5675f11d3bc803a245c0e2a3b47491c8f8a065.
The tests it adds fail: https://reviews.llvm.org/D78135#2453736
The file was addedllvm/test/CodeGen/Generic/MIRDebugify/locations.mir
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/constant-mir-debugify.mir
The file was modifiedllvm/test/DebugInfo/debugify.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi-insertpt-decrement.mir
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/phi-mir-debugify.mir
The file was modifiedllvm/lib/Transforms/Utils/Debugify.cpp
The file was removedllvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
The file was modifiedllvm/lib/CodeGen/MachineDebugify.cpp