[all-commits] [llvm/llvm-project] 31dd0e: [CVP] Add tests for adding `nneg` flag to `uitofp`...

goldsteinn via All-commits all-commits at lists.llvm.org
Tue May 7 12:58:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31dd0ef73c99b1bc9825ddfc58ddff0b134608fb
      https://github.com/llvm/llvm-project/commit/31dd0ef73c99b1bc9825ddfc58ddff0b134608fb
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    A llvm/test/Transforms/CorrelatedValuePropagation/sitofp.ll
    A llvm/test/Transforms/CorrelatedValuePropagation/uitofp.ll

  Log Message:
  -----------
  [CVP] Add tests for adding `nneg` flag to `uitofp` and converting `sitofp` -> `uitofp nneg`; NFC


  Commit: 925a11128c903c8554921c2b5700caf191ae61d6
      https://github.com/llvm/llvm-project/commit/925a11128c903c8554921c2b5700caf191ae61d6
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/sitofp.ll
    M llvm/test/Transforms/CorrelatedValuePropagation/uitofp.ll

  Log Message:
  -----------
  [CVP] Convert `sitofp` -> `uitofp nneg` and add `nneg` flag to `uitofp`

Similiar to the `InstCombine` changes, just furthering the scope of
the canonicalization/`uitofp nneg` support


  Commit: 6243395d7f1da6a2ea813f5d86ba71f91e1070bf
      https://github.com/llvm/llvm-project/commit/6243395d7f1da6a2ea813f5d86ba71f91e1070bf
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp
    M llvm/test/Transforms/SCCP/ip-ranges-casts.ll
    M llvm/test/Transforms/SCCP/sitofp.ll

  Log Message:
  -----------
  [SCCP] Add `nneg` flag to `uitofp` if its operand is non-negative

Similiar to the `InstCombine` changes, just furthering the support of
the `uitofp nneg` support.

Closes #86154


Compare: https://github.com/llvm/llvm-project/compare/82bb2534d4de...6243395d7f1d

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