[all-commits] [llvm/llvm-project] d8f530: [LowerTypeTests] Use IRBuilder instead of Constant...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 28 06:31:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8f530d370881dbefc0b06256ab0cad740476349
      https://github.com/llvm/llvm-project/commit/d8f530d370881dbefc0b06256ab0cad740476349
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp

  Log Message:
  -----------
  [LowerTypeTests] Use IRBuilder instead of ConstantExpr (NFC)

We don't require a Constant here, so let IRBuilder fold this.


  Commit: 1b8fb1a6648aa8cebc05b3a060a4cdec07744245
      https://github.com/llvm/llvm-project/commit/1b8fb1a6648aa8cebc05b3a060a4cdec07744245
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

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

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

Let the IRBuilder constant fold instead.


Compare: https://github.com/llvm/llvm-project/compare/c51857b4e530...1b8fb1a6648a


More information about the All-commits mailing list