[all-commits] [llvm/llvm-project] ce128d: [InstCombine] Add i128 test for select of lshr/ash...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Aug 16 06:02:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce128d8fe8298e87799b5302e08bd0c6ea8ccce4
      https://github.com/llvm/llvm-project/commit/ce128d8fe8298e87799b5302e08bd0c6ea8ccce4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/ashr-lshr.ll

  Log Message:
  -----------
  [InstCombine] Add i128 test for select of lshr/ashr transform (NFC)


  Commit: 5d28678277195e0b136198323ef4afa4561f8796
      https://github.com/llvm/llvm-project/commit/5d28678277195e0b136198323ef4afa4561f8796
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/ashr-lshr.ll

  Log Message:
  -----------
  [InstCombine] Fix incorrect zero ext in select of lshr/ashr fold

The -1 constant should be sign extended, not zero extended.

Split out from https://github.com/llvm/llvm-project/pull/80309.


Compare: https://github.com/llvm/llvm-project/compare/e8e88873ab52...5d2867827719

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