[all-commits] [llvm/llvm-project] 110405: [X86] preferABDSToABSWithNSW - use ABDS for i32/i6...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Sep 5 04:54:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11040560ba30381ed47c3089a2562a41b00dbb4b
      https://github.com/llvm/llvm-project/commit/11040560ba30381ed47c3089a2562a41b00dbb4b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/abds-neg.ll
    M llvm/test/CodeGen/X86/abds.ll

  Log Message:
  -----------
  [X86] preferABDSToABSWithNSW - use ABDS for i32/i64 if we have CMOV

Now that we have better ABDS lowering, prefer cmov(sub(x,y),sub(y,x)) to cmov(abs(sub(x,y)),sub(x,y)) to improve ILP



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