[all-commits] [llvm/llvm-project] c140ff: [ARM] Change a couple of instances of LiveRegs.con...

David Green via All-commits all-commits at lists.llvm.org
Tue Aug 10 01:53:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c140ff493e84bbe697b78ac31fda427e4f8e12da
      https://github.com/llvm/llvm-project/commit/c140ff493e84bbe697b78ac31fda427e4f8e12da
  Author: David Green <david.green at arm.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
    M llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
    M llvm/test/CodeGen/Thumb/PR35481.ll

  Log Message:
  -----------
  [ARM] Change a couple of instances of LiveRegs.contains to !LiveRegs.available

This changes a couple of calls to LiveRegs.contains to
!LiveRegs.available, one in Thumb1FrameLoweringInfo (which modifies a
test to look more correct to me, given r7 should be the frame pointer so
is not available), and another in the ARMLoadStoreOptimizer, that I
don't have a test for, it was just found by inspection.

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




More information about the All-commits mailing list