[all-commits] [llvm/llvm-project] 708999: [IndVars] Add test for phi select exit value with ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 9 05:42:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 708999e5b1e214247fff134019eff9bcd6205436
      https://github.com/llvm/llvm-project/commit/708999e5b1e214247fff134019eff9bcd6205436
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M llvm/test/Transforms/IndVarSimplify/exit_value_tests.ll

  Log Message:
  -----------
  [IndVars] Add test for phi select exit value with large BTC (NFC)


  Commit: a56071ffb7f647a41e4b24ff4c2e70d6c63f40b7
      https://github.com/llvm/llvm-project/commit/a56071ffb7f647a41e4b24ff4c2e70d6c63f40b7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Transforms/IndVarSimplify/exit_value_tests.ll

  Log Message:
  -----------
  [SCEV] Don't require positive BTC when non-zero is sufficient

The only thing we care about here is that we don't exit on the
first iteration. Whether the BTC is large enough to overflow the
signed integer space is not relevant.


Compare: https://github.com/llvm/llvm-project/compare/2600aaab21d4...a56071ffb7f6


More information about the All-commits mailing list