[all-commits] [llvm/llvm-project] a39b80: [IRCE][NFC] Refactor parseRangeCheckICmp to comput...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Thu Apr 13 22:59:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a39b807d41f1f8ebe54b02769d3848e6d0d6e5a5
      https://github.com/llvm/llvm-project/commit/a39b807d41f1f8ebe54b02769d3848e6d0d6e5a5
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp

  Log Message:
  -----------
  [IRCE][NFC] Refactor parseRangeCheckICmp to compute SCEVs instead of Values

The motivation is to make an opportunity to compute and return
expressions after parsing ICmp into a range check (e.g. Length + 1).

Patch by Aleksandr Popov!

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




More information about the All-commits mailing list