[all-commits] [llvm/llvm-project] 03c44c: [NFC] Deduplicate comment in PromoteMemoryToRegist...

Scott Linder via All-commits all-commits at lists.llvm.org
Fri May 15 12:23:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03c44c7584b43059010b1b80c8e38d6fdb2c1658
      https://github.com/llvm/llvm-project/commit/03c44c7584b43059010b1b80c8e38d6fdb2c1658
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

  Log Message:
  -----------
  [NFC] Deduplicate comment in PromoteMemoryToRegister.cpp

This has been duplicated since before
2372a193ba904fdc85de3cc559e0bc162f14f144, but that commit has it
appearing twice in the space of 10 lines of the same function body. It
could also be hoisted up to the point just after where the last
special-case is considered, but I want to keep the intent of the
original authors.

Committed as obvious without a review.




More information about the All-commits mailing list