[all-commits] [llvm/llvm-project] 0cab8d: Reapply [IR] Mark and/or constant expressions as u...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 25 06:32:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cab8d20417c0e2ccc1ffc5505e080126f5de8e6
      https://github.com/llvm/llvm-project/commit/0cab8d20417c0e2ccc1ffc5505e080126f5de8e6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/test/CodeGen/Hexagon/atomic-opaque-basic.ll
    M llvm/test/Transforms/InstCombine/and-xor-or.ll
    M llvm/test/Transforms/InstCombine/and.ll
    M llvm/test/Transforms/InstCombine/bswap-fold.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
    M llvm/test/Transforms/InstSimplify/compare.ll

  Log Message:
  -----------
  Reapply [IR] Mark and/or constant expressions as undesirable

This reapplies the change for and, but also marks or as undesirable
at the same time. Only handling one of them can cause infinite
combine loops due to the asymmetric handling.

-----

In preparation for removing support for and/or expressions, mark
them as undesirable. As such, we will no longer implicitly create
such expressions, but they still exist.




More information about the All-commits mailing list