[all-commits] [llvm/llvm-project] d47e2f: [ValueTracking] Avoid ConstantExpr::getIntegerCast()

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 1 03:22:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d47e2ff8e15d14f5776c8c36b27ba8d6ad392211
      https://github.com/llvm/llvm-project/commit/d47e2ff8e15d14f5776c8c36b27ba8d6ad392211
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

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

  Log Message:
  -----------
  [ValueTracking] Avoid ConstantExpr::getIntegerCast()

Use ConstantFoldIntegerCast() instead, to remove the reliance on
constant expressions.




More information about the All-commits mailing list