[all-commits] [llvm/llvm-project] 3138c5: [InstCombine] Add more gep index canonicalization ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jun 4 01:20:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3138c590859ffff5d77f878f3b297960c8842180
      https://github.com/llvm/llvm-project/commit/3138c590859ffff5d77f878f3b297960c8842180
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

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

  Log Message:
  -----------
  [InstCombine] Add more gep index canonicalization tests (NFC)

Flags are already fully preserved for the instruction case,
but lost on constant expressions.


  Commit: eea05c6b3369736b703e2a5e3ca08ba6ad8a51dc
      https://github.com/llvm/llvm-project/commit/eea05c6b3369736b703e2a5e3ca08ba6ad8a51dc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp

  Log Message:
  -----------
  [ConstantFolding] Preserve all flags in CastGEPIndices()

This preserves the flags during that transform, but currently they
will still end up getting dropped at a later stage.


Compare: https://github.com/llvm/llvm-project/compare/cb60667b6e76...eea05c6b3369

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