[all-commits] [llvm/llvm-project] 8f3fd2: [Reassociate] Use getInsertionPointerAfterDef()

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 31 02:10:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f3fd26b74a7f5eb9892556511bae8f70a3597dc
      https://github.com/llvm/llvm-project/commit/8f3fd26b74a7f5eb9892556511bae8f70a3597dc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    A llvm/test/Transforms/Reassociate/callbr.ll

  Log Message:
  -----------
  [Reassociate] Use getInsertionPointerAfterDef()

This simplifies the code and fixes handling for the callbr case,
where the instruction needs to be inserted in the normal
destination, rather than after the terminator.

Originally part of D129660.


  Commit: a11e2d7366a11385e23d142ac93065a861b70a16
      https://github.com/llvm/llvm-project/commit/a11e2d7366a11385e23d142ac93065a861b70a16
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M libclc/CMakeLists.txt

  Log Message:
  -----------
  [libclc] Quote addition of CLC/LLAsm flags

Otherwise cmake will insert a semicolon if flags are already set.

Differential Revision: https://reviews.llvm.org/D131490


Compare: https://github.com/llvm/llvm-project/compare/0e5fe1cdacdc...a11e2d7366a1


More information about the All-commits mailing list