[all-commits] [llvm/llvm-project] 47eddb: [LoopVersioningLICM] Remove unnecessary reset code...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Nov 14 06:18:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47eddbbf33fe3b020e1fc4ef272461b8533238f8
      https://github.com/llvm/llvm-project/commit/47eddbbf33fe3b020e1fc4ef272461b8533238f8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

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

  Log Message:
  -----------
  [LoopVersioningLICM] Remove unnecessary reset code (NFC)

The LoopVersioningLICM object is only ever used for a single loop,
but there was various unnecessary code for handling the case where
it is reused across loops. Drop that code, and pass the loop to the
constructor.




More information about the All-commits mailing list