[all-commits] [llvm/llvm-project] 2df215: [Bazel] Update for D148308 (riscv-sifive)

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Tue May 2 08:18:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df215f7a6a14415bb4df95cd3d1b261ab52a9eb
      https://github.com/llvm/llvm-project/commit/2df215f7a6a14415bb4df95cd3d1b261ab52a9eb
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel

  Log Message:
  -----------
  [Bazel] Update for D148308 (riscv-sifive)


  Commit: 9cfeba5b12b6bc721e4e52196d44088f5f1fff30
      https://github.com/llvm/llvm-project/commit/9cfeba5b12b6bc721e4e52196d44088f5f1fff30
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M clang/lib/CodeGen/CMakeLists.txt
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
    M llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    A llvm/include/llvm/CodeGen/LowLevelType.h
    M llvm/include/llvm/CodeGen/LowLevelTypeUtils.h
    M llvm/include/llvm/CodeGen/MachineMemOperand.h
    M llvm/include/llvm/CodeGen/RegisterBankInfo.h
    R llvm/include/llvm/Support/LowLevelTypeImpl.h
    M llvm/include/llvm/module.modulemap
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
    A llvm/lib/CodeGen/LowLevelType.cpp
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/lib/Support/CMakeLists.txt
    R llvm/lib/Support/LowLevelType.cpp
    M llvm/lib/Target/AArch64/AsmParser/CMakeLists.txt
    M llvm/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/Disassembler/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/MCA/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
    M llvm/lib/Target/ARC/Disassembler/CMakeLists.txt
    M llvm/lib/Target/ARM/ARMCallLowering.cpp
    M llvm/lib/Target/ARM/AsmParser/CMakeLists.txt
    M llvm/lib/Target/ARM/Disassembler/CMakeLists.txt
    M llvm/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/AVR/AsmParser/CMakeLists.txt
    M llvm/lib/Target/AVR/Disassembler/CMakeLists.txt
    M llvm/lib/Target/CSKY/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/Lanai/AsmParser/CMakeLists.txt
    M llvm/lib/Target/Lanai/Disassembler/CMakeLists.txt
    M llvm/lib/Target/M68k/AsmParser/CMakeLists.txt
    M llvm/lib/Target/M68k/Disassembler/CMakeLists.txt
    M llvm/lib/Target/MSP430/AsmParser/CMakeLists.txt
    M llvm/lib/Target/Mips/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/RISCV/MCA/CMakeLists.txt
    M llvm/lib/Target/SPIRV/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/VE/AsmParser/CMakeLists.txt
    M llvm/lib/Target/VE/Disassembler/CMakeLists.txt
    M llvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/AsmParser/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/Disassembler/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/X86/MCA/CMakeLists.txt
    M llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/X86/X86CallLowering.cpp
    M llvm/lib/Target/X86/X86InstructionSelector.cpp
    M llvm/lib/Target/XCore/Disassembler/CMakeLists.txt
    M llvm/tools/llvm-dwarfutil/CMakeLists.txt
    M llvm/tools/llvm-exegesis/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/AArch64/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/PowerPC/CMakeLists.txt
    M llvm/unittests/CodeGen/MachineOperandTest.cpp
    M llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
    M llvm/utils/TableGen/CMakeLists.txt
    M llvm/utils/TableGen/GlobalISel/CMakeLists.txt
    M llvm/utils/TableGen/GlobalISelEmitter.cpp
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  Restore CodeGen/LowLevelType from `Support`

This is rework of;
  - D30046 (LLT)

Since I have introduced `llvm-min-tblgen` as D146352, `llvm-tblgen`
may depend on `CodeGen`.

`LowLevlType.h` originally belonged to `CodeGen`. Almost all userse are
still under `CodeGen` or `Target`. I think `CodeGen` is the right place
to put `LowLevelType.h`.

`MachineValueType.h` may be moved as well. (later, D149024)

I have made many modules depend on `CodeGen`. It is consistent but
inefficient. It will be split out later, D148769

Besides, I had to isolate MVT and LLT in modmap, since
`llvm::PredicateInfo` clashes between `TableGen/CodeGenSchedule.h`
and `Transforms/Utils/PredicateInfo.h`.
(I think better to introduce namespace llvm::TableGen)

Depends on D145937, D146352, and D148768.

Differential Revision: https://reviews.llvm.org/D148767


  Commit: c1221251fbb13f382f9142a8a75af2d3b372da7f
      https://github.com/llvm/llvm-project/commit/c1221251fbb13f382f9142a8a75af2d3b372da7f
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/CodeGen/CostTable.h
    M llvm/include/llvm/CodeGen/FastISel.h
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/include/llvm/CodeGen/LowLevelType.h
    A llvm/include/llvm/CodeGen/MachineValueType.h
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/include/llvm/CodeGen/TargetCallingConv.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
    M llvm/include/llvm/CodeGen/ValueTypes.h
    R llvm/include/llvm/Support/MachineValueType.h
    M llvm/include/llvm/module.modulemap
    M llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/CodeGen/TargetRegisterInfo.cpp
    M llvm/lib/Target/AArch64/AArch64FastISel.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/ARM/ARMCallLowering.cpp
    M llvm/lib/Target/ARM/ARMFastISel.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.h
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.h
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.h
    M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
    M llvm/lib/Target/M68k/M68kMachineFunction.h
    M llvm/lib/Target/Mips/MipsFastISel.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.h
    M llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
    M llvm/lib/Target/Mips/MipsSEISelLowering.cpp
    M llvm/lib/Target/Mips/MipsSEISelLowering.h
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.h
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.h
    M llvm/lib/Target/X86/X86AsmPrinter.cpp
    M llvm/lib/Target/X86/X86CallLowering.cpp
    M llvm/lib/Target/X86/X86InterleavedAccess.cpp
    M llvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
    M llvm/unittests/Support/MVTTest.cpp
    M llvm/utils/TableGen/CodeGenInstruction.h
    M llvm/utils/TableGen/CodeGenTarget.h
    M llvm/utils/TableGen/DAGISelMatcher.h
    M llvm/utils/TableGen/GlobalISelEmitter.cpp
    M llvm/utils/TableGen/InfoByHwMode.h
    M llvm/utils/TableGen/RegisterInfoEmitter.cpp

  Log Message:
  -----------
  Restore CodeGen/MachineValueType.h from `Support`

This is rework of;

  - rG13e77db2df94 (r328395; MVT)

Since `LowLevelType.h` has been restored to `CodeGen`, `MachinveValueType.h`
can be restored as well.

Depends on D148767

Differential Revision: https://reviews.llvm.org/D149024


  Commit: 5d71ec6e448fa3ecb7e22368e97cf8274d5c84c6
      https://github.com/llvm/llvm-project/commit/5d71ec6e448fa3ecb7e22368e97cf8274d5c84c6
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M clang/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
    M llvm/lib/CodeGen/MIRParser/CMakeLists.txt
    M llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt
    M llvm/lib/DWARFLinker/CMakeLists.txt
    M llvm/lib/LTO/CMakeLists.txt
    M llvm/lib/Target/AArch64/AsmParser/CMakeLists.txt
    M llvm/lib/Target/AArch64/CMakeLists.txt
    M llvm/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/AsmParser/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/Disassembler/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/MCA/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
    M llvm/lib/Target/ARC/CMakeLists.txt
    M llvm/lib/Target/ARC/Disassembler/CMakeLists.txt
    M llvm/lib/Target/ARM/AsmParser/CMakeLists.txt
    M llvm/lib/Target/ARM/CMakeLists.txt
    M llvm/lib/Target/ARM/Disassembler/CMakeLists.txt
    M llvm/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/AVR/AsmParser/CMakeLists.txt
    M llvm/lib/Target/AVR/CMakeLists.txt
    M llvm/lib/Target/AVR/Disassembler/CMakeLists.txt
    M llvm/lib/Target/BPF/CMakeLists.txt
    M llvm/lib/Target/CSKY/CMakeLists.txt
    M llvm/lib/Target/CSKY/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/DirectX/CMakeLists.txt
    M llvm/lib/Target/Hexagon/CMakeLists.txt
    M llvm/lib/Target/Lanai/AsmParser/CMakeLists.txt
    M llvm/lib/Target/Lanai/CMakeLists.txt
    M llvm/lib/Target/Lanai/Disassembler/CMakeLists.txt
    M llvm/lib/Target/LoongArch/CMakeLists.txt
    M llvm/lib/Target/M68k/AsmParser/CMakeLists.txt
    M llvm/lib/Target/M68k/CMakeLists.txt
    M llvm/lib/Target/M68k/Disassembler/CMakeLists.txt
    M llvm/lib/Target/MSP430/AsmParser/CMakeLists.txt
    M llvm/lib/Target/MSP430/CMakeLists.txt
    M llvm/lib/Target/Mips/CMakeLists.txt
    M llvm/lib/Target/Mips/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/NVPTX/CMakeLists.txt
    M llvm/lib/Target/PowerPC/CMakeLists.txt
    M llvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/RISCV/CMakeLists.txt
    M llvm/lib/Target/RISCV/MCA/CMakeLists.txt
    M llvm/lib/Target/SPIRV/CMakeLists.txt
    M llvm/lib/Target/SPIRV/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/Sparc/CMakeLists.txt
    M llvm/lib/Target/SystemZ/CMakeLists.txt
    M llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/VE/AsmParser/CMakeLists.txt
    M llvm/lib/Target/VE/CMakeLists.txt
    M llvm/lib/Target/VE/Disassembler/CMakeLists.txt
    M llvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/AsmParser/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/Disassembler/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/WebAssembly/Utils/CMakeLists.txt
    M llvm/lib/Target/X86/CMakeLists.txt
    M llvm/lib/Target/X86/MCA/CMakeLists.txt
    M llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
    M llvm/lib/Target/XCore/CMakeLists.txt
    M llvm/lib/Target/XCore/Disassembler/CMakeLists.txt
    M llvm/tools/dsymutil/CMakeLists.txt
    M llvm/tools/llc/CMakeLists.txt
    M llvm/tools/llvm-dwarfutil/CMakeLists.txt
    M llvm/tools/llvm-exegesis/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/AArch64/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/PowerPC/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/X86/CMakeLists.txt
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/unittests/CodeGen/CMakeLists.txt
    M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
    M llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
    M llvm/unittests/MI/CMakeLists.txt
    M llvm/unittests/MIR/CMakeLists.txt
    M llvm/unittests/Target/AArch64/CMakeLists.txt
    M llvm/unittests/Target/AMDGPU/CMakeLists.txt
    M llvm/unittests/Target/ARM/CMakeLists.txt
    M llvm/unittests/Target/LoongArch/CMakeLists.txt
    M llvm/unittests/Target/WebAssembly/CMakeLists.txt
    M llvm/unittests/Target/X86/CMakeLists.txt
    M llvm/unittests/tools/llvm-exegesis/CMakeLists.txt
    M llvm/utils/TableGen/CMakeLists.txt
    M llvm/utils/TableGen/GlobalISel/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  Split out `CodeGenTypes` from `CodeGen` for LLT/MVT

This reduces dependencies on `llvm-tblgen` so much.

`CodeGenTypes` depends on `Support` at the moment.
Be careful to append deps on this, since Targets' tablegens
depend on this.

Depends on D149024

Differential Revision: https://reviews.llvm.org/D148769


  Commit: 631bfdbee5b45eda9f99dff6a716d63c5698e4bd
      https://github.com/llvm/llvm-project/commit/631bfdbee5b45eda9f99dff6a716d63c5698e4bd
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M llvm/include/llvm/CMakeLists.txt
    A llvm/include/llvm/CodeGen/CMakeLists.txt
    M llvm/include/llvm/CodeGen/MachineValueType.h
    M llvm/include/llvm/module.extern.modulemap
    M llvm/include/llvm/module.install.modulemap
    M llvm/include/llvm/module.modulemap
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/unittests/Support/CMakeLists.txt
    R llvm/unittests/Support/MVTTest.cpp
    R llvm/unittests/Support/MachineValueType.h
    M llvm/utils/TableGen/GlobalISel/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  Switch `llvm/CodeGen/MachineValueType.h` to the generated one

Prune `SupportTests/MVTTest` since it is no longer needed.

Depends on D148769

Differential Revision: https://reviews.llvm.org/D148770


Compare: https://github.com/llvm/llvm-project/compare/3e850a6eea52...631bfdbee5b4


More information about the All-commits mailing list