[all-commits] [llvm/llvm-project] 1455b3: [RISCV] Reorganize select lowering to pull binop e...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Sep 5 18:14:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1455b3cabd9a97ea4dec01b7149a1db251dabcf7
      https://github.com/llvm/llvm-project/commit/1455b3cabd9a97ea4dec01b7149a1db251dabcf7
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/cmov-branch-opt.ll

  Log Message:
  -----------
  [RISCV] Reorganize select lowering to pull binop expansion early (#156974)

This is purely stylistic, but I think makes the code easier to follow.

It isn't quite NFC because it undoes the arithmetic lowering added yesterday in #156957 for the select c, simm12, 0 cases for a processor with both conditional move forwarding and zicond.  What the right code is for that combination of features is currently an open question.



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