[all-commits] [llvm/llvm-project] d701e3: [RISCV] Add test cases for failure to optimize sel...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 12 11:19:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d701e37b424606650a5063371b979013d0f6d160
      https://github.com/llvm/llvm-project/commit/d701e37b424606650a5063371b979013d0f6d160
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M llvm/test/CodeGen/RISCV/select-cc.ll

  Log Message:
  -----------
  [RISCV] Add test cases for failure to optimize select_cc with X < 1 or X > -1. NFC

We can use BGE with X0 to implement these, but we currently put
1 or -1 into a register.




More information about the All-commits mailing list