[all-commits] [llvm/llvm-project] 2a4cbf: [Loads] Const correct the Size argument to isSafeT...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jun 28 12:48:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
      https://github.com/llvm/llvm-project/commit/2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/Loads.h
    M llvm/lib/Analysis/Loads.cpp

  Log Message:
  -----------
  [Loads] Const correct the Size argument to isSafeToLoadUnconditionally. NFC (#96993)

The APInt is not modified so we should pass by const reference.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list