[all-commits] [llvm/llvm-project] 1e710c: [DAG] Add TLI::isTruncateFree(SDValue, EVT) wrapper.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Dec 24 05:19:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e710cfc8091b901f53828318287c650332194a7
      https://github.com/llvm/llvm-project/commit/1e710cfc8091b901f53828318287c650332194a7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-12-24 (Sun, 24 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] Add TLI::isTruncateFree(SDValue, EVT) wrapper.

Similar to the existing isZExtFree(SDValue, EVT) wrapper, this will allow targets to override for specific cases (e.g. free truncation of an ext/extload node). But for now its just used to wrap the existing isTruncateFree(EVT, EVT) call.




More information about the All-commits mailing list