[all-commits] [llvm/llvm-project] 06afee: [InstCombine] Precommit tests for one-use check in...

chenglin.bi via All-commits all-commits at lists.llvm.org
Wed Mar 15 01:58:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06afee24897340b61ba7ac082eb588615c88dcbc
      https://github.com/llvm/llvm-project/commit/06afee24897340b61ba7ac082eb588615c88dcbc
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-range.ll

  Log Message:
  -----------
  [InstCombine] Precommit tests for one-use check in icmp-range; NFC


  Commit: d99d765fc07e8338ee2b54337dbf4a3dbc8c310a
      https://github.com/llvm/llvm-project/commit/d99d765fc07e8338ee2b54337dbf4a3dbc8c310a
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-range.ll

  Log Message:
  -----------
  [InstCombine] Remove one-use limit when it can simplify to a const in the pattern foldICmpUsingBoolRange

This patch follow up dd31a3b3a5, when the pattern return a constant we needn't limit it to one-use.


Compare: https://github.com/llvm/llvm-project/compare/96cc2d07e15a...d99d765fc07e


More information about the All-commits mailing list