[all-commits] [llvm/llvm-project] 43ad2e: [DAG] Add getExtOrTrunc helper. NFC.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jun 20 08:03:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43ad2e9c8b03bfeb413f2af515ad1c2dcea0b871
      https://github.com/llvm/llvm-project/commit/43ad2e9c8b03bfeb413f2af515ad1c2dcea0b871
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [DAG] Add getExtOrTrunc helper. NFC.

Wrap the getSExtOrTrunc/getZExtOrTrunc calls behind an IsSigned argument.




More information about the All-commits mailing list