[all-commits] [llvm/llvm-project] d5167c: [DAGCombiner] Allow tryToFoldExtOfLoad to use a se...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Feb 17 11:37:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5167c84f9eddf6a37c667d4673bf694dfd8be37
      https://github.com/llvm/llvm-project/commit/d5167c84f9eddf6a37c667d4673bf694dfd8be37
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/RISCV/load-setcc-combine.ll

  Log Message:
  -----------
  [DAGCombiner] Allow tryToFoldExtOfLoad to use a sextload for zext nneg. (#81714)

If the load is used by any signed setccs, we can use a sextload
instead of zextload. Then we don't have to give up on extending
the load.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list