[all-commits] [llvm/llvm-project] 4fee75: Delete copy-ctor of MachineFrameInfo.

Amara Emerson via All-commits all-commits at lists.llvm.org
Thu Aug 5 23:24:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fee756c75af4bb6367508626ceb5ba12bd04eb8
      https://github.com/llvm/llvm-project/commit/4fee756c75af4bb6367508626ceb5ba12bd04eb8
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFrameInfo.h
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp

  Log Message:
  -----------
  Delete copy-ctor of MachineFrameInfo.

I just hit a nasty bug when writing a unit test after calling MF->getFrameInfo()
without declaring the variable as a reference.

Deleting the copy-constructor also showed a place in the ARM backend which was
doing the same thing, albeit it didn't impact correctness there from the looks of it.




More information about the All-commits mailing list