[all-commits] [llvm/llvm-project] 160ae6: [Attributor][NFC] Fix nofpclass test

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Jul 25 20:31:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 160ae648d621592275d5e4c5cd52b89ffbc3eeb5
      https://github.com/llvm/llvm-project/commit/160ae648d621592275d5e4c5cd52b89ffbc3eeb5
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/test/Transforms/Attributor/nofpclass.ll

  Log Message:
  -----------
  [Attributor][NFC] Fix nofpclass test


  Commit: 88b5d23021443372aaeb8e82e26d480a485899ba
      https://github.com/llvm/llvm-project/commit/88b5d23021443372aaeb8e82e26d480a485899ba
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/assumes_info.ll
    M llvm/test/Transforms/Attributor/dereferenceable-2-inseltpoison.ll
    M llvm/test/Transforms/Attributor/dereferenceable-2.ll
    M llvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
    M llvm/test/Transforms/Attributor/nocapture-2.ll
    M llvm/test/Transforms/Attributor/potential.ll
    M llvm/test/Transforms/Attributor/range.ll
    M llvm/test/Transforms/Attributor/undefined_behavior.ll
    M llvm/test/Transforms/Attributor/value-simplify-local-remote.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll
    M llvm/test/Transforms/OpenMP/heap-to-shared-missing-declarations.ll

  Log Message:
  -----------
  [Attributor] Allow multiple LHS/RHS values when simplifying comparisons

We use to deal with multiple values but not in the handleCmp function.
Now we also allow multiple simplified operands there.


  Commit: be22b90994f403444e231deb8bae709ef944b5f9
      https://github.com/llvm/llvm-project/commit/be22b90994f403444e231deb8bae709ef944b5f9
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/test/Transforms/Attributor/nonnull.ll

  Log Message:
  -----------
  [Attributor][NFC] Precommit tests


  Commit: b3fec1067a15a5b619e3ebb3467babdb5b2f5799
      https://github.com/llvm/llvm-project/commit/b3fec1067a15a5b619e3ebb3467babdb5b2f5799
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/depgraph.ll
    M llvm/test/Transforms/Attributor/nonnull.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll

  Log Message:
  -----------
  [Attributor] Improve NonNull deduction

We can improve our deduction if we stop at PHI and select instructions
and also iterate the returned values explicitly. The latter helps with
isImpliedByIR deductions.


Compare: https://github.com/llvm/llvm-project/compare/84d4618a025b...b3fec1067a15


More information about the All-commits mailing list