[all-commits] [llvm/llvm-project] 0b5e0f: [InstCombine] Avoid some uses of ConstantExpr::get...

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


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp

  Log Message:
  -----------
  [InstCombine] Avoid some uses of ConstantExpr::getIntegerCast() (NFC)

Use IRBuilder or ConstantFolding instead.




More information about the All-commits mailing list