[all-commits] [llvm/llvm-project] c2d68c: [InstCombine] Add tests for propagating flags when...

goldsteinn via All-commits all-commits at lists.llvm.org
Sat Jun 8 14:47:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2d68c42a44853dccf8df736ed9be85a8be3ef70
      https://github.com/llvm/llvm-project/commit/c2d68c42a44853dccf8df736ed9be85a8be3ef70
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/shift.ll

  Log Message:
  -----------
  [InstCombine] Add tests for propagating flags when folding consecutative shifts; NFC


  Commit: 2900d035f45fa04078ce9b1ec1e980b113f16013
      https://github.com/llvm/llvm-project/commit/2900d035f45fa04078ce9b1ec1e980b113f16013
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift.ll

  Log Message:
  -----------
  [InstCombine] Propagate flags when folding consecutative shifts

When we fold `(shift (shift C0, x), C1)` we can propagate flags that
are common to both shifts.

Proofs: https://alive2.llvm.org/ce/z/LkEzXD

Closes #94872


Compare: https://github.com/llvm/llvm-project/compare/febfbff6cde4...2900d035f45f

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