[all-commits] [llvm/llvm-project] 16ddd2: Revert "[GISel] Add LookThroughInstrs for getICons...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Nov 4 12:23:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16ddd25b691e6e04bdee4c4878d7efc72771e2a5
      https://github.com/llvm/llvm-project/commit/16ddd25b691e6e04bdee4c4878d7efc72771e2a5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-04 (Sat, 04 Nov 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp

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

This reverts commit 28ae42e6625154dfd164803850b15d8a0c296b94.

The assert in getIConstantVRegVal was not updated for this change.
The ValAndVReg->VReg == VReg check fails if any look through happens.

RISC-V was the only target using the lookthrough functionality, but I'm
not sure it was needed so I'm removing that too.




More information about the All-commits mailing list