[all-commits] [llvm/llvm-project] 3a1b38: [X86] Add i32 (shl (sr[la] exact sel(X, Y), C1), C...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jul 18 08:52:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a1b38049a5c634aad27a7a31c7e84c51a31ec07
      https://github.com/llvm/llvm-project/commit/3a1b38049a5c634aad27a7a31c7e84c51a31ec07
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-shl.ll

  Log Message:
  -----------
  [X86] Add i32 (shl (sr[la] exact sel(X,Y),  C1), C2) test

Shows failure to fold sel(sra(X,C1),sra(Y,C1)) -> sra(sel(X,Y),C1) (and to retain the flags)




More information about the All-commits mailing list