[all-commits] [llvm/llvm-project] 3fb104: [SelectionDAGBuilder] Use getPtrExtOrTrunc in plac...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri May 19 13:09:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fb1041165d78bee8fa9a0871d78a4d54fcea11f
      https://github.com/llvm/llvm-project/commit/3fb1041165d78bee8fa9a0871d78a4d54fcea11f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  [SelectionDAGBuilder] Use getPtrExtOrTrunc in place of getZExtOrTrunc. NFC

This getZExtOrTrunc seems to have been added when getPtrExtOrTrunc
was introduced. getPtrExtOrTrunc is currently equivalent to getZExtOrTrunc,
but could be changed for some target in the future.

Reviewed By: t.p.northover

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




More information about the All-commits mailing list