[all-commits] [llvm/llvm-project] 85dfb3: [LexicalScopesTest] Add missing IRBuilder.h includ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Jun 6 07:30:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85dfb377dd2bba4e88bec049a4ced3d2ba5e34ca
      https://github.com/llvm/llvm-project/commit/85dfb377dd2bba4e88bec049a4ced3d2ba5e34ca
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-06 (Sun, 06 Jun 2021)

  Changed paths:
    M llvm/unittests/CodeGen/LexicalScopesTest.cpp

  Log Message:
  -----------
  [LexicalScopesTest] Add missing IRBuilder.h include (NFC)

This currently depends on a transitive include via TargetLowering.h.


  Commit: 1ffa6499ea3b7fde687666a45e89909fbf72a450
      https://github.com/llvm/llvm-project/commit/1ffa6499ea3b7fde687666a45e89909fbf72a450
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-06 (Sun, 06 Jun 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.h
    M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonISelLowering.h
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h

  Log Message:
  -----------
  [TargetLowering] Use IRBuilderBase instead of IRBuilder<> (NFC)

Don't require a specific kind of IRBuilder for TargetLowering hooks.
This allows us to drop the IRBuilder.h include from TargetLowering.h.

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


Compare: https://github.com/llvm/llvm-project/compare/0f938a6ed8f4...1ffa6499ea3b


More information about the All-commits mailing list