[all-commits] [llvm/llvm-project] 28ae42: [GISel] Add LookThroughInstrs for getIConstantVReg...

Michael Maitland via All-commits all-commits at lists.llvm.org
Fri Oct 20 14:52:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28ae42e6625154dfd164803850b15d8a0c296b94
      https://github.com/llvm/llvm-project/commit/28ae42e6625154dfd164803850b15d8a0c296b94
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp

  Log Message:
  -----------
  [GISel] Add LookThroughInstrs for getIConstantVRegVal and getIConstan… (#68327)

…tVRegSExtVal

The implementation of these methods uses
getIConstantVRegValWithLookThrough with LookThroughInstrs argument set
to false. By adding the optional argument to getIConstantVRegVal and
getIConstantVRegSExtVal we can take advantage of the already built look
through functionality.




More information about the All-commits mailing list